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;? – Alvin Nguyen Jan 30 '18 at 22:33

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, privacy policy and cookie policy

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