How do I make the link to homepage relative?
-
Hi there,
I’m setting up this website for my team of friends and sofar it has not been publically accessible (using)Ultimate Coming Soon Page plugin. But when we’ll be public, I don’t want to fiddle around with updates of the content on that site without having tested them on a test site.
So, after a lot of trying, googling, reading forums etc. I managed to make my clone-procedure. I repeated and refined it making a few clones.
So, I’ve got this website: https://ourteam.xx and a clone https://test.ourteam.xx and even a clone https://test.othersite.xx.
Now, the changes/updates take mainly place in the database, so the files wp-config.php and wp-includes/option.php have been adjusted for their new folder, and all links have been made relative ( replacing the https://ourteam.xx/ part by ../. That works excellent and I can now just download MySql from one clone and upload it to another clone…. But the link to the homepage cannot be made relative, so I have every time after updating the MySql to go to Dashboard > Appearance > Menus to find ‘Home’ (Custom?) and change it from https://ourteam.xx to https://test.ourteam.xx or https://test.othersite.xx or vice versa if I go from test to normal.
I tried to make the Dashboard > Appearance > Menus to find ‘Home’ a relative link such as /homepage, but to no avail. That does not work,
Now how is it supposed to be made relative or is this not possible at all?Thanks for enlighting replies.
Christiaan
- The topic ‘How do I make the link to homepage relative?’ is closed to new replies.