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   1414 Views

Avatar
Fuzz10

Community Member, 787 Posts

28 November 2007 at 3:34am

Edited: 28/11/2007 9:27pm

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

Community Member, 787 Posts

9 December 2007 at 3:15am

Argh...

Fixed it. Terribly stupid on my part.

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