Log in
Model

AppendUrlRewritesToProducts

Magento\CatalogUrlRewrite\Model\Products\AppendUrlRewritesToProducts

What it does

This class manages URL rewrites for products across multiple store views.

Developers use it when products need new or updated SEO-friendly URLs, particularly when products are assigned to new stores or when URL keys are overridden at the store view level.

It intelligently generates URLs only when necessary, such as when a product has store-specific URL key overrides.

Public Methods

  • execute()