Hi @TheDoc, thanks, the issue is that if I use relative URL’s, the links break as soon as I want to link back to the home or any other top level page from “/other/page”, if the href looks like “../home/”, then the site takes you back to one level below the base URL, as per the example below:
Hi @TheDoc and anyone else who’s interested, I’ve finally gotten to the bottom of my issue, and I’m embarrassed to say that it’s a real head slapper!! So, I thought I should share it in case someone else has a similar issue.
The whole issue was based on porting a site from my localhost development environment to the live environment, without needing to replace/update links and URLs when uploading files.
The long story short is, setup your localhost correctly, and use virtual hosts for subdomains.
I have been using Mamp for ages now, but I never bothered to delve deep enough into setting up subdomains, so my development sites have always been something along the lines of http://localhost/mysite, instead of http://mysite.localhost.
Once setup correctly, root relative URL’s work perfectly (instead of taking you back to the localhost root directory).