Search engine optimization is very important for a website to rank. Now if you’re running on blogger and facing the issue of m=1 in your SEO, don’t worry I’m here to help you in this.
Are you looking for how to remove /?m=1 from blogger pages?
What happens if I would say, you not need to remove /?m=1 from your blogger page/s. As Google itself already answer for it for different URL of mobile and desktop.
It’s the same case of different URLs for the same post, You can check Official Google Page techniques to make both URLs different and indexing only Canonical URL to google search engine.
How to solve blogger m=1 issue
As you can Google page technique for different URLs for the same page i.e one for mobile and another for PC.
To solve this issue go to
- Login to your blogger account
- Go to blogger dashboard
- Visit Theme > Edit HTML
Now look for the line
<b:include data='blog' name='all-head-content'/> , below this line paste code given below
<b:if cond='data:blog.isMobileRequest == "false"'> <link rel='alternate' media='only screen and (max-width: 420px)' href='<data:blog.canonicalUrl/>?m=1'/> <link rel='alternate' media='handheld' href='<data:blog.canonicalUrl/>?m=1'/> </b:if>
After pasting above code just below the line
<b:include data='blog' name='all-head-content'/> , Click on save the theme.
Now, all done. your website will resolve both URLs with only one as canonical. As technically m=1 will not remove but for an SEO point of view, it will point all its pages to canonical URL.
For mobile user your website with m=1 link served but it index only canonical URL means URL without m=1. You can check that with your Google Search Engine Console or Google Website.
For ranking, wait for a few days to complete the crawling of the whole website.
Wrong Practice: Some users copy and paste a script code in the theme of the blogger and their m=1 removed from their webpage. But actually what happened is, m=1 visually disappear but it’s there. You can check the header response for that. This will mean that you made things worst from the SEO point of view. So please keep the above things in mind while making such changes.