Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Problem with trailing slash


Reply

2 Posts   1338 Views

Avatar
Fuzz10

28 November 2007 at 3:34am (Last edited: 28 November 2007 9:27pm), Community Member, 787 Posts

Hi..

Spent a _LOOOT_ of time trying to figure out a problem with a new site we're working on.

www.mysite.com/about works like a charm
www.mysite.com/about/ (notice the trailing slash) doesn't work. None of the relative links to images , CSS , javascript work .. If I change them in a hard absolute URL, it's all fine.....

This is easy to see with the SS-navigation bar on the bottom on the screen. It works on the first URL (without the slash) and does not work on the second one.

Maybe this is a common (small) mistake... If so , please let me know ! :-) Getting desperate... ;-(

Avatar
Fuzz10

9 December 2007 at 3:15am Community Member, 787 Posts

Argh...

Fixed it. Terribly stupid on my part.

Forgot to put the <% base_tag %> @ the top of the template.