Jump to:

22977 Posts in 11724 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » redirecting to mydomain.com/?locale=en_US

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

Page: 1
Go to End
Author Topic: 438 Views
  • leafchild
    Avatar
    Community Member
    41 Posts

    redirecting to mydomain.com/?locale=en_US Link to this post

    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

    438 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.