Mobile app version of vmapp.org
Login or Join
Cofer257

: Canonical link to the same page Recently I learned that e.g. Google was not indexing pages that didn't have canonical links, so in the code below, I am setting the canonical link to the homepage

@Cofer257

Posted in: #CanonicalUrl #Indexing #Seo

Recently I learned that e.g. Google was not indexing pages that didn't have canonical links, so in the code below, I am setting the canonical link to the homepage itself (index.html).

Question: for example, for the home page (index.html) is the canonical meta-tag below correct, or would it raise canonical-based meta tag page errors?

<link rel="canonical" hreflang="en-us" href="http://www.company.com/index.html">


Below is a pic of the search console showing 32 pages that weren't indexed because of error "Duplicate page without cononical tag," and FYI there are no duplicate pages as they all have unique filename.html.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cofer257

1 Comments

Sorted by latest first Latest Oldest Best

 

@Chiappetta492

Set the canonical page to the page that you want to have indexed.

If your site has


example.com/news/article/

example.com/news/article

example.com/news/article.html


all as the same page this is a duplicate content issue.

If you put a rel canonical tag of example.com/news/article pointing to your homepage then google won't index your news article page. You want your canonical tag to point to example.com/news/article

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme