Ricky55 Posted January 2, 2013 Share Posted January 2, 2013 One of my clients has just called to say that he can't access a page on his website. I can access no problem. Its just a static site that uses some PHP. I have a folder to represent each section of the site for example about-us In each folder I have an index.php file. Should my links contain a trailing slash or not? Should I be linking like <a href="/about-us/"></a> or <a href="/about-us"></a> I've tried searching for an answer but no one seems to give a definitive answer. Thanks Quote Link to comment Share on other sites More sharing options...
MarPlo Posted January 2, 2013 Share Posted January 2, 2013 Hi, My opinion is that if "about-us" is a folder, it is better to add slash at the end. <a href="/about-us/"></a> Quote Link to comment Share on other sites More sharing options...
Ricky55 Posted January 2, 2013 Author Share Posted January 2, 2013 Thanks mate. I have changed all the links now so they do have the slash. IE9 though on my clients machine fails to find the index.php within a particular folder. Can you think of any reason why this could be happening? He can access every other page of the site apart from this one particular page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.