Jump to content

Having base URL automaticly redict to URL with country language


ThibBac

Recommended Posts

Hello, 

I am here because of a URL problem with my shop:

For several years my shop was not multi-language, so google indexed all my pages with the basic url (www.souvenirs-paris.fr/~souvenirf/...) 
Recently I decided to add English to my site and to go to multi-language, so the url are now in the form : 
www.souvenirs-paris.fr/~souvenirf/fr for French
www.souvenirs-paris.fr/~souvenirf/en for English

This is a big problem because all my indexed pages are now in error.

I wanted to try to make permanent redirects from the basic URLs (indexed in French) to the new French multi-language URL (with the /fr) but I can't.

I guess it's in the .htaccess but I need your help for that!

Thank you very much

Thibault

Link to comment
Share on other sites

Bonjour,

Je viens de faire un test sur une version PS 1.7.8.7 (prise au hasard) et sur laquelle les 2 langues sont installées.
Quand je supprime le /fr/ de l'url d'une page de catégorie je suis bien redirigé vers la page correspondante en /fr/ grâce au mécanisme redirection canonique...
Quelle version de PrestaShop utilises-tu ?

Yann

Link to comment
Share on other sites

Bonjour, 

Je viens de me rendre compte que mon site était en mode débug et donc que les redirections ne fonctionnaient pas ... 
En retirant ce mode, j'ai effectivement les redirections correctes

Merci de votre aide ! 

Thibault

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...