Fix the M=1 Error in Blogger
Hello guys do you want to remove the m=1 from indexing in google search console. Here I will tell you a best and simplest working way to solve this problem easily.
So, Let's start
In general we use the custom robots.txt that worked for indexing our pages that's great but in addition it also try to index the /?m=1 URL that are not necessary because only use for mobile version of website, when we see any blogger website on mobile phone device so /?m=1 come at the end of our main URL.
The "?m=1" parameter commonly found in Blogger URLs can lead to "Page with redirect" and "Alternate page with proper canonical tag" errors in Google Search Console.
These errors arise because search engines may crawl both the URL with and without the "?m=1" parameter, causing confusion about the canonical URL.
You should not worry about these URL's in search console report.
But if you really want them to be removed you can add the code on robots.txt file as:
User-agent: *
Disallow: /search
Disallow: /*?m=1
Disallow: /*?m=0
Allow: /
Sitemap:https://www.example.com/atom.xml?redirect=false&start-index=1&max-results=500
Please change the www.example.com with your domain or subdomain like .blogspot.com
Then, copy this code and go to you blogger settings and find the option:
Setting > Crawlers and indexing > Enable custom robots.txt > open it and paste the above code in blue box.
Also, Enable custom robots header tags
Custom robot tags for home page
Turn this option on:
1. all
2. noodp
and other options should remain uncheck.
Custom robot tags for archive and search pages
Turn this option on:
1. all
2. noindex
3. noodp
and other options should remain uncheck.
Custom robot tags for posts and pages
Turn this option on:
1. all
2. noodp
and other options should remain uncheck.
Congratulation you have solved your problem easily
Thanks for visiting. If you have any problem related to Blogger, Please visit our website: https://www.learnerlagoon.com/ or https://www.learnerlagoon.com/search/label/Blogger