Jump to content


Photo

language redirection issue


  • Please log in to reply
1 reply to this topic

#1 akroma

akroma

    Member

  • Members
  • PipPip
  • 23 posts

Posted 23 January 2018 - 05:53 AM

Hi Vekia, 
I actually have a problem with a client website. 
Search console doesn't crawl all of the pages and says there a redirect problem.
If I try shop domain address at https://monitorbackl...er-status-check I get a 302 moved to http://domain/fr/ 

Language redirect seems to be the problem.

Do you have any solutions?
I see you have too modules for 1.7 one for language and the other one for redirection.
I already bought clean url one but i don't think it can do anything. Thanks. Regards


looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 9921 posts

Posted 23 January 2018 - 05:53 AM

Hello Jerome,
Unfortunately it is standard default behaviour in prestashop when you use many languages.
Address https://domain.com just redirects to default language of the shop - in your case it is french language: https://domain.com/fr/
It is not possible (without modifications) to avoid such 301 redirection problem when shop has more than 1 langauge.
 
possible solutions:
- if you do not need other languages - just use one language in your shop
- modification of prestashop core that allows to use https://domain.com/ address as a default language url
- module to remove "iso" language code from default language url, like mine: https://mypresta.eu/...-from-urls.html
 
best regards,
milos

free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png





IPB Skin By Virteq