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.
To add the canonical tag on your Blogger blog, follow the steps below.
All major Search Engines like Google, Bing, and DuckDuckGo respect the canonical tag.
So, you have the fixed the multiple post links issues of the Blogspot blog for all major search engines.
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.
- https://www.corenetworkz.com/2018/06/redirection-from-m1-blogspot-pages.html
- https://www.corenetworkz.com/2018/06/redirection-from-m1-blogspot-pages.html?m=1
- https://www.corenetworkz.com/2018/06/redirection-from-m1-blogspot-pages.html?showComment=1577279824528
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.
- Login to the Blogger account and select the blog
- Click on Theme from the left side menu
- Click on the vertical ellipsis (the vertical three dots)
- Click on Edit HTML
- 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.- How to Remove Date Numbers From Blogger Post Links?
- How to Setup Custom Domain Name For a Blogspot Blog?
All major Search Engines like Google, Bing, and DuckDuckGo respect the canonical tag.
- How to Position AdSense Ad Just below the Blogger Post Title?
- 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.
Wonderful guide. I was looking for a solution for this multiple blogger link problem. thank you.
ReplyDeleteThank you for your appreciation.
ReplyDeleteThank you very much for I have been having the same issues but usually ignores it... I hope this tutorial will work
ReplyDeleteIs it still working bro ?
ReplyDeleteYes, it is working.
Deletewow thanks for the tip... I'm using the blogger default template (Awesome Inc) I have to set the Attribution widget to "false" to enable me to remove the powered by blogger on the destop template.. from the code you gave above, i noticed that when I replaced with it works fine on the mobile template by removing the powered by blogger, but this line(...widget id='Attribution1' locked='true'...) calls back the already removed attribution widget from the desktop template and place it at my left sidebar. so the issue I'm having now is that when i try to remove the mobile attribution the desktop attribution shows and when i remove the desktop attribution widget the mobile attribution widget shows up... Please help me if you have any suggestion to fix this.. I want it in such a way that both in my mobile and desktop views there will be no powered by blogger. thanks once again
ReplyDeleteA quick suggestion is to change the current template. Let me know if it fixed the issue.
DeleteHello Alex.
ReplyDeleteI have this issue since last 3 weeks, but even after adding the canonical tag Google don't want to visit my site .
The question is when will search console pass this issue for me .
Hello Alex.
ReplyDeleteI have this issue since last 3 weeks, but even after adding the canonical tag Google don't want to visit my site .
The question is when will search console pass this issue for me .
You should use the Index now feature on the Google Search console.
DeleteThank you
ReplyDeleteThanks for your suggestion
ReplyDeletethanks for shairing appreciate!
ReplyDeleteI tried it. But, it's still telling "No canonical tag is set for this page."
ReplyDeletePlease, help me.
Right Blogger has canonical tag by default. Perhaps this guide will help you. https://ahrefs.com/blog/canonical-tags/
DeleteHi~! I tried doing this and it appears to have broken my site. Now all of my pages, including the homepage, is showing as blocked by robot.txt files by Google Search Engine, where they were fine before. Deleting the code did not undo this issue. Any ideas what went wrong? Low-key desperate
ReplyDeleteSounds strange. Can you tell me the steps you did on your blog? Check your robots.txt file with Google Search Console robots.txt checker too.
DeleteIs it head> instead of ? @ this line: "PS: both lines must be between tags."
ReplyDeleteCan you explain the issue a bit more?
DeleteNice post! I really like your post.Thank you for sharing valuable information.
ReplyDeletei am using custom domain on blogger. so that same code which you given above will it work for canonical issues?? please reply soon
ReplyDeleteIt will work.
DeleteEnough information, I will try this method because I have extremely confused about this issue.
ReplyDeleteThank you for this
ReplyDelete