Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO improvements: In production we should redirect or add canonical tag to the duplicate pages #654

Open
onnimonni opened this issue Nov 11, 2024 · 0 comments

Comments

@onnimonni
Copy link
Contributor

Description

Google Search console is complaining that my site has duplicate pages without canonical tag. I think it would be better to just redirect them in production so that the pretty urls will always be used.

For example google is somehow able to find these 2 pages which are duplicates and ideally only the first one would be used:

https://keksi.io/opettaja
https://keksi.io/c2b868f78b524954b2c13da26c587413?pvs=25

This should again help with the SEO because google penalizes for duplicate content.

I would be happy to help but I'm not sure how to fix this 🤔. Maybe comparing if the URL is same as the pageid in production and then redirecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant