We are doing SEO optimization on our Magento storefront, and I need tips on the best way to change category URLs. Our SEO contractors want to change a bunch of URLs:
/base-cat/sub-cat1/sub-cat2.html
to
/seo-friendly-cat2.html.
We have a bunch of nested categories (5 top levels and many subcategories up to 4 levels). Since this helps our customers deploy basic navigation, we are not sure if we want to change the hierarchy of categories. But we can make these url changes in 100 categories or so.
I know that we can do some of this using 301 rewrites (using the built-in rewriting module Magento.htaccess), but what is the best way to approach this? One drawback I see using 301s is that the main navigation will still have a long subcategory URL in it. Should I take a look at creating a custom module that allows us to specify the exact URL for the categories (rather than the URL token specific to the hierarchy)? What is your advice?
source share