Jump to content

My site opens from MYSITE.COM/EN . Ho to make it start from just MYSITE.COM?


Recommended Posts

Hello everyone!

 

I have fresh PrestaShop version 1.6.0.14 installation with two languages:

 

languages.JPG

It looks like both languages set up well and should not depend of browser:

 

config.JPG

 

First problem- I can not open my site with direct url mysite.com. Browser always redirects to url mysite.com/en.

How to make my site opens from direct url (just mysite.com) ?

 

And the second problem- from time to time I have 502 ERROR (Bad Gateway). I suppose this hosting problem, am I right or shall I fix something in PS?

 

Thank you!

 

Link to comment
Share on other sites

This is correct behaviour. If you activate several languages, than Prestashop finds-out which browser setting do you have and starts with the default language of your browser or at least English, if language is not available. You cannot change this. Prestashop uses geotargeting. If you have only one language, so your site will start with yoursite.com without the language-ID, independent of the language setting of your browser.

Edited by selectshop.at (see edit history)
  • Like 1
Link to comment
Share on other sites

If you have two languages or more it will all time redirect you on default language prefix line /en/ or /ru/

You cannot do like you want.

 

502 ERROR (Bad Gateway)  is nginx error, i think you have shared or worst vps server and on high load you got this error.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...