-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #20282 Module Catalog Url Rewrite: Permanent Redirect for old URL is missed when product was imported #20344
Fixed #20282 Module Catalog Url Rewrite: Permanent Redirect for old URL is missed when product was imported #20344
Conversation
Fixed magento#20282 Module Catalog Url Rewrite: Permanent Redirect for old URL is missed when product was imported
Hi @ankur-cedcoss. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hello, Choosing whether to generate a redirect is optional in the Admin Panel, forcing it in import would not be consistent. Let me know. |
The reference you provided is to handle every product URL rewrite manually. And my solution is not forcing to generate the URL rewrite. |
Hello @ankur-cedcoss, thanks for the clarification. |
Hi @aleron75, thank you for the review. |
@ankur-cedcoss thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
Hi @ankur-cedcoss, thank you for your contribution! |
…ect for old URL is missed when product was imported #20344
Hi @ankur-cedcoss. Thank you for your contribution. |
Hi @ankur-cedcoss. Thank you for your contribution. |
There is still a bug in scenario. In file:
has to be:
Otherwise the new created url rewrites will not be saved. |
Fixed ##20282 Module Catalog Url Rewrite: Permanent Redirect for old URL is missed when product was imported
You have to add one more column in you csv file named 'save_rewrites_history' set it to 1 or 0 based on your requirement. Set it to 1 if you want permanent redirect for old URL of your product.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Contribution checklist (*)