Avoid duplicates pages when using localized pathnames #671
-
At the moment, if I have this in my pathnames:
Then both domain.com/en/about and domain.com/en/about-us will work and show the same page. Is there a way to make the /en/about page 301 redirect to /en/about-us ? |
Beta Was this translation helpful? Give feedback.
Answered by
navandstokes
Dec 13, 2023
Replies: 1 comment 1 reply
-
Change to
And your file structure to |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chuckcg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change to
And your file structure to
/about-us/page.tsx