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.

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

redirecting to mydomain.com/?locale=en_US


Go to End


1550 Views

Avatar
leafchild

Community Member, 41 Posts

19 October 2011 at 6:04pm

I have 3 language, en(defualt), jp and zh pages for my site.

I also edit .htaccess (mod_rewrite) file so that language URL look nicer
ex)
mydomain.com/en/somehting
mydomain.com/jp/anything

When I enter URL "mydomain.com/en/home" or "mydomain.com/en/"
it redirect to "mydomain.com/?locale=en_US"

why it it redirect to this URL? I don't want to show this section "?locale=en_US/"
to user.

thanks