-
Notifications
You must be signed in to change notification settings - Fork 72
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
Handle the case where one switches from using the default .html URL suffix, to not using one #2373
Conversation
🦋 Changeset detectedLatest commit: 53ffc91 The changes in this PR will be included in the next version bump. This PR includes changesets to release 78 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Tried to check if a custom redirect such as This seems to be unrelated to this fix however, also does not seem to work on current demo: https://graphcommerce.vercel.app/en-gb/bar.html |
When resolving an url
foo.html
insideredirectOrNotFound
, this change will always addfoo
to the list of candidates to look up, regardless of the currentStoreConfig.product_url_suffix
value.This allows you to turn off the default
.html
URL suffix in Magento and still have the old URLs redirect correctly.