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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Case-sensitive URLs


Go to End


1195 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?