Is it possible to use Rewrites with query strings? #15942
Unanswered
jpedroribeiro
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a scenario where a url with a query string, i.e.:
/blog/this-is-a-slug/?v=test
needs to point to a different template file.I used to do this with a custom Express server but I'm wondering if I could achieve the same with Rewrites from Next 9.5?
Something like:
This, however, doesn't work:
Reason: Unexpected MODIFIER at 5, expected END
.Wondering if there's an alternative?
Beta Was this translation helpful? Give feedback.
All reactions