I need to give specs on a magento site to set 'Use categories path for product URL’s to no', but will magento automatically redirect the old urls?


I want to change the URLs, so URLs such as


will become:


So what I want to know is will Magento automatically redirect the old URLs with the category in, to the new URLs without? I don't have access to the site so cant test.



Short answer: No.
Long(ish) answer: The old urls category/subcategory/product.html will still be available, you will see the same product page, but it will not redirect you to the product page with url product.html.
You will have to manually create redirect urls from the long url to the short one, but this is a painful and looooong process even for a few dozen products.

  • Right, I guess the next option will be setting 'Canonical Link Meta Tag For Products' to yes.
    – moobot
    May 30 '13 at 10:55
  • Yep...I think that's the easiest way.
    – Marius
    May 30 '13 at 11:11
  • 1
    In fact I think this is better for user experience any way. With URLs including the category URL the breadcrumbs will be correct so the user can go back to the previous category page. And that brings me to another questions, if 'Use categories path for product URL’s' is set to no, where will the breadcrumbs point to if a product is in multiple categories?
    – moobot
    May 31 '13 at 2:45
  • I think the breadcrumbs will look like this: 'Home'>>Product name. But just to make sure, try it.
    – Marius
    May 31 '13 at 6:42
  • Looks like Magento remembers what page you were on before and dynamicaly changes the breadcrumb navigation each time.
    – moobot
    Jun 12 '13 at 15:22

To do this, go to System => Configuration => Catalog => Catalog => Search Engine Optimization and set "Use categories path for product URL’s" to “no”.

  • 1
    I already know how to do this, but i wanted to know if magento will auto redirect the old URL paths.
    – moobot
    Dec 10 '15 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.