Zeka Posted July 5, 2019 Share Posted July 5, 2019 Hi. Currently, I'm building a new multilanguage site. There are two languages: Russian (default - /ru/) and Ukrainian ( non-default - /ua/). In Languages Support - Page Names module I set 'No - Root URL performs a redirect to: /name/' for 'Default language homepage URL is same as root URL?' setting. Due to some new changes in language regulation from the government after some time, I will need to change the default language to Ukrainian. Currently accessing root domain I get redirect to /ru/. I thought that changing language for the guest user will be enough to get a redirect from '/' to '/ua/' on initial load, but it still redirects to '/ru/'. Is there is a way to get what I need without touching names for home page? Thanks. Link to comment Share on other sites More sharing options...
wbmnfktr Posted July 5, 2019 Share Posted July 5, 2019 Therefore I used this in the past: https://processwire-recipes.com/recipes/change-homepages-default-language/ Maybe it works in your case as well. 2 Link to comment Share on other sites More sharing options...
harmonmonic Posted October 21, 2020 Share Posted October 21, 2020 On 7/5/2019 at 9:04 PM, wbmnfktr said: Therefore I used this in the past: https://processwire-recipes.com/recipes/change-homepages-default-language/ what is a merchant account Maybe it works in your case as well. It works. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now