Skip to content

How to use (experimental) custom routes / rewrites (#9081) on vercel? #13347

Answered by ijjk
joafeldmann asked this question in Help
Discussion options

You must be logged in to vote

Hi, the new rewrites/redirects/headers in next.config.js are automatically used when deploying on Vercel and the above rewrite looks like it is correctly working also. Can you provide a deployment or repo with a reproduction where this isn't working?

Working deployment with above rewrite in next.config.js: https://tst-rewrite-id980i1gh.now.sh/post-2.html

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@joafeldmann
Comment options

@ijjk
Comment options

@joafeldmann
Comment options

@ijjk
Comment options

@joafeldmann
Comment options

Answer selected by joafeldmann
Comment options

You must be logged in to vote
2 replies
@joafeldmann
Comment options

@svobik7
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants