Created some new subcategories but when I set up the links, I get a 404 error even if its working on backend. e.g. this link doesn't work


But the version I had to implement based on a filter? That worked but it was a makeshift solution


Problem is that its not a one time thing and several categories and their subcategories are having the same issue. Whats the issue?

1 Answer 1


Please check after reindexing.

php bin/magento indexer: reindex

Or check the category URL in URL Rewrite list in admin.

  • System automatically reindexes and problem still persists. Regarding URL Rewrite, settings are normal. Adjusted as usual.
    – sarmad95
    Commented Aug 26, 2023 at 13:05
  • Also, this problem persists only with the new subcategories I make. Older ones function fine
    – sarmad95
    Commented Aug 27, 2023 at 5:15
  • Please use this extension for URL : github.com/olegkoval/magento2-regenerate_url_rewrites
    – MP Raj
    Commented Aug 28, 2023 at 4:52

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.