Disable rewrite within wp-admin only?
-
We have our theme directory renamed to
filesand our wp-content directory renamed tofiles2. This works perfectly across the site except for one area in wp-admin (a post edit page) where images are called from our theme as follows:Renamed wp-content causes 404 on each image:
https://www.example.com/files/includes/vt_resizer.php?src=https://www.example.com/files2/uploads/2020/05/VO.jpg&w=150&h=150&q=100&zc=1Reverting wp-content to default loads correctly:
https://www.example.com/files/includes/vt_resizer.php?src=https://www.example.com/wp-content/uploads/2020/05/VO.jpg&w=150&h=150&q=100&zc=1Any ideas? We cannot alter the PHP as it calls the entire URL unfortunately, not just the image filename.
Many thanks for your help! I’ve spent two days on it and this is my last resort.
The topic ‘Disable rewrite within wp-admin only?’ is closed to new replies.