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: Add canonical URLs #721

Open
blyonng opened this issue May 13, 2024 · 0 comments
Open

SEO: Add canonical URLs #721

blyonng opened this issue May 13, 2024 · 0 comments

Comments

@blyonng
Copy link

blyonng commented May 13, 2024

Q: What is a canonical tag?
A: In order to avoid duplicate content penalties, we need to specify what the original URL is for a piece of content.

Ex:

  1. If ngrok.com/docs/foo has the same or similar content to ngrok.com/docs/bar, we need to specify that ngrok.com/docs/foo is the more important page.
  2. If ngrok.com/docs/foo is linked to from another website using URL parameters like ngrok.com/docs/foo?asdf=123, then we need to indicate that those are the same page and not different URLs via the canonical tag.

https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls

Suggestion:

  1. Add a field that can be used to specify a canonical URL for a piece of content.
  2. If that isn't specified, then auto-generate a canonical tag based on the slug.
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