In my Magento 2 store whenever I click on a product in a category page I get routes to the parent category page instead of going to the product page. Is this a url rewrite issue? Duplicates?

  • Would you be able to provide the output of select * from url_rewrite; and select * from catalog_url_rewrite_product_category;? Commented Jan 30, 2018 at 22:33

1 Answer 1


I discovered the issue. There were old 301 redirects in the htaccess file that conflicted with what the system rewrites were doing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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