URL Rewriting in Magento 2: SEO and Settings


  • I need to change the default product and category URLs in Magento 2 to be more user-friendly for search engines and users. I want to know how to properly configure URL rewriting in Magento 2 without breaking the site structure. Are there any steps or best practices for this process? Also interested in how to maintain proper SEO after such changes.



  • To change the default product and category URLs in Magento 2, you first need to enable "Use Web Server Rewrites" in Stores > Configuration > General > Web. Then, in Marketing > SEO & Search > URL Rewrites, you can manually configure unique URLs. It is important to keep 301 redirects for old URLs to avoid losing traffic. If you want to automate the process, pay attention to solutions from Amasty, in particular the magento 2 url rewrite regenerate module, which helps to massively update and maintain correct SEO settings without the risk of duplication or indexing loss.


Please login to reply this topic!