Skip to content

Persist current product route when upgrading to 9.0.0#1535

Merged
Quetzacoalt91 merged 3 commits into
PrestaShop:devfrom
Hlavtox:persist-old-routes
Nov 26, 2025
Merged

Persist current product route when upgrading to 9.0.0#1535
Quetzacoalt91 merged 3 commits into
PrestaShop:devfrom
Hlavtox:persist-old-routes

Conversation

@Hlavtox
Copy link
Copy Markdown
Contributor

@Hlavtox Hlavtox commented Nov 21, 2025

Questions Answers
Description? If routes have not been modified, they are not in ps_configration. If you upgrade to 9.0.0, your product URLs change and you completely RUIN YOUR SEO. Caused by PrestaShop/PrestaShop#37467.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#40063 (comment)
Sponsor company TRENDO s.r.o.
How to test? Upgrade from 8.2.3 to 9.0.0 and check that your product rewrite rule in SEO settings is the same.

M0rgan01
M0rgan01 previously approved these changes Nov 24, 2025
Comment thread upgrade/php/add_product_routes.php Outdated
Comment thread upgrade/php/add_product_routes.php Outdated
@Hlavtox
Copy link
Copy Markdown
Contributor Author

Hlavtox commented Nov 25, 2025

@Quetzacoalt91 Should be ready. :-)

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@AureRita AureRita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Hlavtox

Thank you for your PR, I tested it and it seems to works as you can see :

Capture.video.du.2025-11-26.12-16-26.mp4

Tested from :
8.2.3 to 9.0.1
8.0.4 to 9.0.1

Because the PR seems to works as expected, It's QA ✔️

Thank you

@AureRita AureRita added QA ✔️ Status: Check done, Code approved and removed waiting for QA labels Nov 26, 2025
@Quetzacoalt91 Quetzacoalt91 merged commit 2c39774 into PrestaShop:dev Nov 26, 2025
68 of 70 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for review to Merged in PR Dashboard Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Migration script QA ✔️ Status: Check done, Code approved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

PrestaShop 9: Legacy Category/Product URLs Return 404 With New Default Routing (No Redirects or Fallback)

5 participants