Rewrite of URLs used in themes causes 404 on image loading
-
I currently installed Polylang (newest) to WordPress (newest) and recognized, that images used in my template will be rewritten by polylang.
If the imageURL is
http://localhost/site/wp-content/themes/Evelin/images/a_image.png
polylang changes it to:
http://localhost/site/de/wp-content/themes/Evelin/images/a_image.png
(it adds the language code to the url (de, en, …) before wp-content.
This causes a 404 because the images can not be loaded. I try to find some hint in the documentation and this forum, but could not find something helpful for me.
Maybe i forgot something….
Thanks
Sascha
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Rewrite of URLs used in themes causes 404 on image loading’ is closed to new replies.