pattila01 Posted March 17, 2021 Share Posted March 17, 2021 Hello friends, one of my clients has a SEO expert, who checked her site. He says the main redirects are not good, we have to fix it. I've installed a test 1.7.6.8 with the same settings: simple domain without www, SSL (https) and multilanguage, after that I checked it in an online https status checker. Test domain: https://1768.presta-shop.hu/hu/ Checker: https://httpstatus.io/ Urls to check in this case:http://1768.presta-shop.huhttps://1768.presta-shop.huhttp://www.1768.presta-shop.huhttps://www.1768.presta-shop.hu So we have a non-ssl url, an ssl url, a non-ssl url with www, and an ssl url with www. The result: There are multiple redirects because a non-ssl and the language (because in this case the final url is https://1768.presta-shop.hu/hu/ or https://1768.presta-shop.hu/gb/ or other, it depends on your language). The SEO experts says it's bad, we have to fix it: every url version has to redirect to the final url immediately. I checked the /classes/controller/FrontController.php's sslRedirection and canonicalRedirection functions, but I have no good result yet. Somebody says the apache redirect can help:https://www.ionos.com/digitalguide/server/configuration/apache-redirects/ But I am not sure. What do you think about this problem? I checked other Prestashops with multilanguage, but the result was the same. 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