Question:
We have two website that we are redirecting the user based on his geo location between them:
USA & Canada: https://domain/usa/
Other: https://domain/global/
Everything is working just fine.
But, after a while, we have some 404 pages that I have an issue when I want to create 301 redirection using htaccess for them.
For example, I have this 404 page: https://domain/usa/producta, I want to redirect the user to this page: https://domain/usa/ by editing the htaccess file, How should I do?
Answer:
You need to add code redirect to file /home/ids/public_html/.htaccess and then, set the config: http://prntscr.com/lpyqbi
Get to know us!!
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Discover our extensions: https://bsscommerce.com/magento-2-extensions.html
You can refer our top tier extensions:
- https://bsscommerce.com/magento-2-b2b-extensions-package.html
- https://bsscommerce.com/magento-2-seo-extension.html
If you need any further support, please feel free to contact us at sales@bsscommerce or via our support portal.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article