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 /

Case-sensitive URLs


Reply


354 Views

Avatar
Joril

Community Member, 5 Posts

14 November 2013 at 5:34am

Hi everyone!
I have a Silverstripe 2.x site that I recently upgraded to 3.0, but I'm having a problem with case-sensitive URLs.
On the previous version of the site I had a redirect like

http://mysite/page-en-GB -> http://mysite/otherpage-en-GB

but now I have to use the lowercase version instead:

http://mysite/page-en-gb

If I try to use the "en-GB" one, I get a "page not found".
This is a problem because search engines have already indexed the uppercase version.

I tried modifying the "URL segment" field via CMS, but when I press "OK" it reverts to lowercase. What could I try?