Magento 2 GEO IP: How to change 302 to 301 redirect?

Created by Kaylin Nguyen, Modified on Thu, 27 Dec, 2018 at 1:57 PM by Kaylin Nguyen

Question:


The redirection your extension doing (between stores) is using 302, I want to change it to 301, as the image below: 





How can I change it? 


Answer:


We suggest you should use Redirect 302 as each store view has specific content, so redirect 302 is better for SEO in case you have multiple store views. In addition, you should use this configuration: Restriction User Agent to prevent Google BOT from redirecting to advanced SEO. See the image below:



If you need further assistance, please don't hesitate to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article