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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Can I allow slashes in URL?


Reply

2 Posts   745 Views

Avatar
DeklinKelly

22 May 2009 at 9:38pm Community Member, 197 Posts

I want the URL for a subpage to look like this:
http://www.example.com/hello/world/foo/bar/

But in the admin URL gets changed by JavaScript.

"URLs can only be made up of letters, digits and hyphens."

Avatar
banal

22 May 2009 at 10:59pm (Last edited: 22 May 2009 11:00pm), Community Member, 901 Posts

You should have a look at the "nested urls" branch of SilverStripe. I think it's accessible via SVN:
http://svn.silverstripe.com/open/modules/sapphire/branches/nestedurls

Or search these forums for "nested urls"