Viable approach to handle 301 redirections with static optimization #12193
Unanswered
alexander-r-jaimy
asked this question in
Help
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
#9081 this should help |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon, thanks to zeit team for bringing such a wonderful framework.
I'd like to understand how my current problem can be solved using next.js.
As of now, my project runs on next.js with the usage of custom express server, for a site that meant to be static.
After the release of v9 with awesome
getStaticProps
feature, we are starting to consider to update a project for using SSG and deploy it into AWS CDN instead of paying for s2 instance.The only reason why we are running a node server behind is 301 redirects that SEO team demands. So it looks like frontend redirects are not an option.
My question is:
Is there any viable solution that can achieve 301 redirects, but still allowing us to convert a project into fully static SSG and serving it from a CDN?
Thank you for your advice.
Beta Was this translation helpful? Give feedback.
All reactions