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

Avatar
DeklinKelly

Community Member, 197 Posts

22 May 2009 at 9:38pm

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

Community Member, 901 Posts

22 May 2009 at 10:59pm

Edited: 22/05/2009 11:00pm

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"