OriginProtocol / website-frontend

originprotocol.com front-end
6 stars 6 forks source link

Canonicalize URLs #72

Closed franckc closed 1 year ago

franckc commented 1 year ago

The originprotocol.com google indexing issue report shows a significant numbers of URLs having duplicate content and this is impacting our SEO score.

One of the largest category is URLs with parameters. Here are a few examples:

It is unclear why google attempts to index those in the first place. Most likely there are external sites hosting those links.

We are not using URL parameters on the new site. So let's canonicalize all URLs by stripping any parameters and then redirect to the canonicalized version. For example:

franckc commented 1 year ago

@rolandpo The PR is deployed to production but it does not look like everything is fixed so I'm re-opening this issue.

franckc commented 1 year ago

@rolandpo The PR is deployed to production but it does not look like everything is fixed so I'm re-opening this issue.

franckc commented 1 year ago

@rolandpo The PR is deployed to production but it does not look like everything is fixed so I'm re-opening this issue.

rolandpo commented 1 year ago

right, the headers seemed to skip over the index page so #79 should fix that. The previous PR added a canonical url field to the seo to prevent duplicate indexing, but didn't add a redirect. I'll try and think about how to implement that if it's needed

rolandpo commented 1 year ago

pending #91

franckc commented 1 year ago

@rolandpo Can we close this issue or is there anything left to do?

rolandpo commented 1 year ago

I think so yeah