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

Canonical URL should point to the AMP page if it is a visual story #328

Open
ags1773 opened this issue Nov 24, 2020 · 0 comments
Open

Canonical URL should point to the AMP page if it is a visual story #328

ags1773 opened this issue Nov 24, 2020 · 0 comments
Assignees

Comments

@ags1773
Copy link
Contributor

ags1773 commented Nov 24, 2020

What should the canonical URL be?

  • the canonical url should point to the preferred version to be indexed by search engines among duplicates; it gives the URL you’d like displayed in search results
  • In case of normal (non-visual) stories, the main content is the non-AMP story page. But in case of visual stories, the main content is the AMP page. Therefore the canonical URL should point to the AMP story page for visual stories

Until now, the visual stories provided by ahead had the same URL for non-amp and amp pages. For example if you go to this story directly, it shows a visual story but of you go it from search page, it will open a non-amp story. So the non-amp and amp story had the same URL.
Therefore, canonical URL was the same as story page URL (like any other story page).

But after moving to amp lib, non-amp and amp page URLs will be different for visual stories. Therefore we need to make the change in SEO.

Reference: https://developers.google.com/search/blog/2013/04/5-common-mistakes-with-relcanonical

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