WordPress current page url is adding to resource's path
-
Hi,
I’ve been facing a problem with my client’s website once it gone live. I see there is an additional URL appending at the beginning of every resource path.
For example:
https://mydomain.com/about/www.mydomain.com/wp-content/uploads/2012/06/about.pngWhere: https://mydomain.com/about is the current page.
This breaks the site and style sheets, images are not applying. Same is happening to the back-end.
I added following code to functions.php
update_option(‘siteurl’,’https://’);
update_option(‘home’,’https://’);and, style sheet seems to be applying but image are still showing the additional URL in it.
Please, help!!
[ Please do not bump, it’s not permitted here. ]
- The topic ‘WordPress current page url is adding to resource's path’ is closed to new replies.