0

I'm using Magento 2.4.2, when changing the categories URL keys in the admin panel the URL rewrite sometimes isn't updated.

Why would it happen and how can I update them?

1 Answer 1

0

There might be multiple reasons for the same problem. But anyway, you might solve it by installing olegkoval/magento2-regenerate-url-rewrites and running these commands below.

php bin/magento ok:urlrewrites:regenerate --entity-type=category
php bin/magento index:reindex

Note: Before performing this please backup your database and commit your current code.

1
  • Can I do that without installing a plugin? Sometimes it works...
    – KaMZaTa
    Commented Jul 27, 2021 at 20:40

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.