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

Avatar
Alan Tucker

Community Member, 5 Posts

7 February 2009 at 1:18pm

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

Community Member, 501 Posts

10 February 2009 at 12:41am

Just out of curiosity: why would you want that?

Avatar
Alan Tucker

Community Member, 5 Posts

10 February 2009 at 1:08am

Thanks for the reply.

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

Avatar
colner

Community Member, 4 Posts

17 February 2009 at 7:20am

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.