Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/272607-the-trailing-slash/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/272607-the-trailing-slash/#findComment-1402824
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.