Skip to content

Commit 3cb4260

Browse files
committed
GH-130: Clarified default behavior after code review
1 parent e8b53bf commit 3cb4260

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/pages/development/backward-incompatible-changes/highlights.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ The following major backward-incompatible changes were introduced in the 2.4.6 A
2323

2424
### New default value for automatic redirects
2525

26-
To improve performance, the default value for `generate_category_product_rewrites` in the [`app/code/Magento/CatalogURLRewrite/etc/config.xml`](https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/CatalogUrlRewrite/etc/config.xml#L12) file was changed from `1` to `0`. This change disables [automatic redirects](https://experienceleague.adobe.com/docs/commerce-admin/marketing/seo/url-rewrites/url-redirect-product-automatic.html) by default.
26+
To improve performance, the default value for `generate_category_product_rewrites` in the [`app/code/Magento/CatalogURLRewrite/etc/config.xml`](https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/CatalogUrlRewrite/etc/config.xml#L12) file was changed from `1` to `0`. This change disables [automatic category/product URL rewrites](https://experienceleague.adobe.com/docs/commerce-admin/marketing/seo/url-rewrites/url-redirect-product-automatic.html#skip-rewrite), but only if you have not changed the previous default setting prior to upgrading to 2.4.6.
2727

28-
The new default does not change existing records in the `catalog_url_rewrite_product_category` and `url_rewrite` database tables when upgrading to 2.4.6, but no new rewrites are added. However, using the `bin/magento config:set catalog/seo/generate_category_product_rewrites` command to change this configuration setting after upgrading to 2.4.6 permanently deletes all rewrites with no ability to restore them. This may cause unresolved "category/product" type URL conflicts that you must resolve by manually updating URL keys.
28+
The new default does not change existing records in the `catalog_url_rewrite_product_category` and `url_rewrite` database tables when upgrading to 2.4.6, but no new rewrites are added. You can enable the **Generate "category/product" URL Rewrites** setting if you want to continue using it after upgrading.
29+
30+
<InlineAlert variant="warning" slots="text" />
31+
32+
Manually changing this setting (for example, using the `bin/magento config:set catalog/seo/generate_category_product_rewrites` command) permanently deletes all rewrites with no ability to restore them. This may cause unresolved category/product type URL conflicts that you must resolve by manually updating URL keys.
2933

3034
### New system configuration for limiting products in grid
3135

0 commit comments

Comments
 (0)