Skip to main content

How to Set Canonical Tag to Fix Duplicate Blogspot Blog Post URL Issues?

If you have a Blogspot blog, one of the SEO problems you might see in your blog is having multiple URLs pointing the same post.

Blogger generates different Blog post URLs for both desktop and mobile views. Blogger also creates a different URL that displays with comments.

For example, have a look at the three links I show below.

If you visit the links, you can see they are pointing to the same post. According to Google Search Quality guidelines, it is a duplicate content issue.

How can we fix the duplicate content issue created by this automatic Blogger post URL generation? The answer is by adding the Canonical tag In the Blogger source code.

By adding a canonical tag, we can tell the search engines which link is the preferred link. Search Engines will avoid other links and save our blogs from the duplicate content issue.

Adding the canonical tag to a static web page is easy. But, how can you add canonical tags on a dynamic website run on Blogger?

It is very simple. I will show you how to add a canonical tag in your Blogger blog.

How To Add Canonical Tag for Multiple Blogger Blog Posts?

A Blogspot blog might have hundreds of posts and a handful of pages. However, we can add canonical tags to all the blog posts and pages by adding two simple lines in the Blogger header tag.

To add the canonical tag on your Blogger blog, follow the steps below.

  1. Login to the Blogger account and select the blog

  2. Click on Theme from the left side menu

  3. Click on the vertical ellipsis (the vertical three dots)

  4. Click on Edit HTML

  5. Check for the line <b:include data='blog' name='all-head-content'/> in the header using the search feature.

    PS: You can open the Blogger search by pressing the [Ctrl] and [F] buttons together after clicking the blogger code window.

    If you find the code in the header, add this line <link rel='canonical' expr:href='data:blog.url'/> below it.

    Have a look at the screenshot provided below. You can see how I added the code.

    PS: both lines must be between <header> </header> tags.

How Does The Canonical Tag Fix the Blogger Duplicate URL issue?

Once we pasted the codes <b:include data='blog' name='all-head-content'/> and <link rel='canonical' expr:href='data:blog.url'/> in the header, Blogger will tell Google to ignore other variations of the post links.

  1. How to Remove Date Numbers From Blogger Post Links?
  2. How to Setup Custom Domain Name For a Blogspot Blog?

All major Search Engines like Google, Bing, and DuckDuckGo respect the canonical tag.

  1. How to Position AdSense Ad Just below the Blogger Post Title?
  2. How to Unblock Banned Websites on Airtel Network?

So, you have the fixed the multiple post links issues of the Blogspot blog for all major search engines.


Anupama Thomas said…
Wonderful guide. I was looking for a solution for this multiple blogger link problem. thank you.
Alex George said…
Thank you for your appreciation.

About Author

My photo
Alex George
Alex George has Engineering graduation in Computer Science and an MBA in Finance. He had been working as a senior Network Engineer for ten years. His specialization is in Cisco products. Traveling is one of his hobbies and visited various places as part of his onsite work. He visited different places as part of his onsite work like New York, Dubai, London, etc. Right now Alex is a director of one of the leading career development firms in India, which trains students for UPSC, SSC, and PSC examinations. He guides a lot of students to get selection for various prestigious institutions like CBI, Income Tax Department, etc. Alex George is a stock market investor and a very active intraday trader. Engineering Background: He has a B.Tech in Computer Science and Engineering and passed different network and security courses like CCNA, CCNP (Security), CEH, and various Microsoft certifications. Finance Background: Alex has an MBA in Finance. He is an active intraday trader and a Share Market Investor. Webmaster Skills: Alex is a blogger since 2004. He has a working knowledge of HTML, CSS, PHP, and JavaScrip.