fix: issue with locale rewrites on pages router#938
fix: issue with locale rewrites on pages router#938nicholasio wants to merge 1 commit intodevelopfrom
Conversation
🦋 Changeset detectedLatest commit: 6796e54 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 GitHub.
|
📦 Next.js Bundle Analysis for @10up/wp-nextjs-appThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
📦 Next.js Bundle Analysis for @10up/headstartwpThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Description of the Change
Closes #
How to test the Change
Changelog Entry
Credits
Props @username, @username2, ...
Checklist:
Note
Ensures Next.js pages router creates proper rewrites for localized and default routes, while leaving app router behavior unchanged.
cache-healthcheck,block-library.css,feed,robots.txt,sitemap.xml,:sitemap(.*sitemap.*\.xml), andads.txt/:path(.*main-sitemap\.xsl)to generate both default and per-locale rewrites (no multisite prefix)hostheader checks across all generated rewrites; skip i18n rewrites when using the app router@headstartwp/nextpatch releaseWritten by Cursor Bugbot for commit 6796e54. This will update automatically on new commits. Configure here.