docs icon indicating copy to clipboard operation
docs copied to clipboard

Correct the Canonical Tag in HTML for SEO Improvement

Open cmaliwal opened this issue 6 months ago • 0 comments

Prerequisites

  • [X] I checked the existing issues to make sure this feature has not already been requested

Feature

Our current canonical tag implementation in the HTML uses a relative URL, which can cause SEO issues. The canonical tag helps search engines identify the preferred version of a webpage, and using a full URL ensures clarity and effectiveness.

<link rel="canonical" href="/docs/">

Problem:

The href attribute is a relative URL (/docs/), which can be ambiguous for search engines. This might lead to indexing issues or duplicate content penalties, as search engines may not correctly interpret the canonical page.

Solution: Update the canonical tag to use the full URL to make it clear and unambiguous for search engines.

Suggested Implementation:

<link rel="canonical" href="https://fetch.ai/docs/">

  • Using the full URL (https://fetch.ai/docs/) in the canonical tag ensures that search engines know exactly which URL is the canonical one.
  • This prevents potential SEO issues such as duplicate content penalties and indexing problems, leading to better search engine performance for our site.

This change will improve our site's SEO by ensuring that search engines correctly identify the canonical page, leading to better indexing and ranking.

Additional Information (Optional)

No response

cmaliwal avatar Aug 07 '24 03:08 cmaliwal