How to regenerate filter SEO URL names
An alias is the SEO name for an attribute and its values that are used in the filter URL. Aliases are stored in an attribute's Edit menu -> SEO Filters tab.
This feature is used to delete all existing aliases for attribute values and regenerate them in one format.
For example, duplicate aliases for attribute values can result in filtering errors or 404 pages. Similarly, aliases with inconsistent formatting may need to be standardized to one style.
To regenerate aliases, do the following:
1. Select the source for generating aliases
In the Rewrite alias source configuration, choose the source that will provide the data for aliases:
- Store view label — Select this option to use store-specific labels. Aliases will be generated based on the store view labels for the values.
- Default (Admin) label — Use this option to apply consistent aliases across all store views by using the value from the
Admin
field.
Click Save config button and clear Magento's cache.
2. Delete all aliases and initiate their generation process
-
Click Remove existing aliases button to remove aliases.
warningDeleted aliases can't be recovered.
When aliases successfully deleted, notification All (number) attribute and option aliases were removed
appears.
Aliases will be generated automatically when a filter with the corresponding filter options is used. Their format will depend on the Rewrite alias source setting.