Skip to content

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

@onnimonni

Description

@onnimonni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions