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, Ed, biapar, Willr, Ingo, swaiba

Customising urls - from /page-name/ to /page-name.html

Go to End

2 Posts   1642 Views


Community Member, 49 Posts

30 June 2009 at 8:49am

Edited: 30/06/2009 9:02am

I have a quick question regarding the complexity of making the following changes to the way Silverstripe produces urls:



Since /page-name/ looks like a directory with possibly more files within that directory, is it possible to change the url rewriting to /page-name.html and if so what are the complications (if any)? Has anyone done this before?

(Sorry if this question has been asked before - could only find references to path names like /section-name/page-name/ and not directly to having /page-name.html instead)


Community Member, 247 Posts

7 April 2010 at 8:45am

This has been asked (and solved) before: