I'm facing an issue with redirecting the Category page. We are using the same URL key for both the Category and Product. When I click the link which should be redirected to Category but it's not doing that, instead, it's redirecting to the Product page.

So, I want to know whether we can use the same URL key for both the Category and Product page.

Please comment.

Looking forwarding to your reply.

  • 1
    no, you can't use it. It should be unique, url key once assigned should not be used in other products or categories. – John Aug 31 '18 at 12:56

Look at catalog rewrite. you can find both url there. You can find path also.

Generally magento add path with url key. So it should work with same url. But some how it is not working for you then you can use category url for access product like


|improve this answer|||||
  • Thanks. Do you have any idea why the URL won't redirect to the Category Page? – Siva Aug 31 '18 at 13:11
  • In admin panel go to Marketing -> URL rewrites page. Check Request path and target path column. So you will get idea – user55548 Aug 31 '18 at 13:16
  • I have checked Marketing -> URL rewrites page and see that the category page has a product that why it's showing the product page instead of the category page. I have tried to edit the URL for category page but it's showing the "Request Path for Specified Store already exists." Please comment. – Siva Sep 3 '18 at 7:05
  • Try to use category url in product url like i mention as above. So for product request path becomes category-url/product-url category url request path is category-url I think it may work – user55548 Sep 6 '18 at 6:53

NO, you can not use the same url for category and product.

It's not only about the categories and products. You can not use the same url at any other section whether it is a category page, a product page or any cms page.

|improve this answer|||||

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.