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.
But if you’re looking only to remove m=1 from the end of your webpage then this post is not for you as we’re not here to spoil your page SEO. You can add some script and remove that but search engine will punish your blog by decreasing page rank of your blog. We can also provide you such a script but we’ll not, as we’re here to boost SEO not to degrade it. You can read this complete article before applying any script and all. Use proper methods to do things,
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. Please read this article till the end and only after understanding what you’ve to do according to your need to apply these settings. Settings are completely SEO and search engine friendly.
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.
Please note here that these settings will only work when you enabled Mobile theme for mobile users, in theme settings of your blogger blog. (If you’re using the same theme for mobile and PC then you’ve to add proper schema markup to your blogger blog. Understand what is schema and how to implement this.)
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.