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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Problem with trailing slash

Go to End

2 Posts   1673 Views


Community Member, 791 Posts

28 November 2007 at 3:34am

Edited: 28/11/2007 9:27pm


Spent a _LOOOT_ of time trying to figure out a problem with a new site we're working on. works like a charm (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... ;-(


Community Member, 791 Posts

9 December 2007 at 3:15am


Fixed it. Terribly stupid on my part.

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