Homepage rewrite #10763
Answered
by
andreisena
adamsoffer
asked this question in
Help
Homepage rewrite
#10763
-
What's the recommended way to create a site "frontpage"? I'm using dynamic routes ( |
Beta Was this translation helpful? Give feedback.
Answered by
andreisena
Mar 1, 2020
Replies: 1 comment
-
There is a experimental feature for this. You can check here #9081. // next.config.js
module.exports = {
async rewrites() {
return [
{
source: "/home",
destination: "/",
}
];
}
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adamsoffer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a experimental feature for this. You can check here #9081.
It allows you to create redirects like this: