Issue with absolute and relative URLs since changing domain names
-
https://thelittlegreenhouse.net and is now https://shemakesmagic.com).
We are hosted through bluehost. Bluehost made the switch. I changed the Site URL using the edit webconfig steps in post: https://codex.www.ads-software.com/Changing_The_Site_URL
I then used this tool: https://www.ads-software.com/extend/plugins/velvet-blues-update-urls/ to update all the URLs.
Everything worked perfectly.
However, I’m no noticing two issues with URLs:
Firstly, when i’m in https://shemakesmagic/wpadmin and I click on ‘preview’ in a post or page, the page opens but the URL adds “shemakesmagic/wpadmin” onto the front of it: So for example, when trying to preview the about page (https://shemakesmagic.com/about) the URL it takes me to is https://shemakesmagic.com/wp-admin/shemakesmagic.com/about
Secondly, when you’re in a page or a post and you choose to add a hyperlink. You search for the post you want to link to in our site. In the URL field it looks like the URL is correct except that the https:// part is missing, turning it into a relative URL. So then, when clicking on the hyperlink, it adds, not only the domain name but also the page name where the link was added. So for example, let’s say I edit the page https://shemakesmagic.com/about and I add a hyperlink into the page to https://shemakesmagic.com/freebies-goodies/. The hyperlink is added as shemakesmagic.com/freebies-goodies (no https://) So then when I click on the link, it actually tries to go to https://shemakesmagic.com/about/shemakesmagic.com/freebies-goodies/
So to add links at the moment, I have to manually write them into the text viewer.I’m guessing it has something to do with relative and absolute URLs and that this may have been caused during the change over in domains because this certainly wasn’t happening before.
Any suggestions?
- The topic ‘Issue with absolute and relative URLs since changing domain names’ is closed to new replies.