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.

Customising the CMS

adding .html for friendly page names


Reply

4 Posts   1327 Views

Avatar
Alan Tucker

7 February 2009 at 1:18pm Community Member, 5 Posts

i am a new user of silver stripe and i was wondering if this is an update or hack to rewrite the urls in such a way that allows you to add an extension to what would be a page name.

example: /about-us/ would become about-us.html

thanks

at

Avatar
dio5

10 February 2009 at 12:41am Community Member, 501 Posts

Just out of curiosity: why would you want that?

Avatar
Alan Tucker

10 February 2009 at 1:08am Community Member, 5 Posts

Thanks for the reply.

The main reason is that i pref closed url's with the use of page/file extensions.

Avatar
colner

17 February 2009 at 7:20am Community Member, 4 Posts

I too would like to do this to be able to move an old site unto silverstripe. I could rewrite all the urls, but there are thousands and I would rather not do that because I would not want to affect seo rankings or loose backlinks to internal pages. Any help with this would be appreciated by many! Thanks.