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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

redirecting to mydomain.com/?locale=en_US


Reply


587 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