How To Remove "?m=1" From Blogger Post URL

I have visible around the internet (Google, Blogger Help) many bloggers have requested questions on "a way to dispose of?m=1 from blogger", but no person has responded. So, I suppose why I'm not resolving this trouble! And ultimately, I have got a solution for this.

Why do you need to remove "?m=1" from Blogger URL?

You do not get to get rid of it inside the context of SEO. This shows in case you do now not do away with "?m=1", it'll not affect your blog SEO in any condition, and additionally, it does now not have an effect on the google search console (Webmaster Device). But, you can take it away just for developing a smooth weblog post URL.

Many newcomers bloggers appear that it's a trouble with the manual. However, the reality was wholly absolutely specific from their mind. It surely becomes no longer brought by using you (the subject developer) or everybody else. It sincerely became mechanically introduced by way of blogger CMS. however, it relies upon on you whether or not or now not you take it away or no longer.

In my weblog cope with additionally shows this ?m=1 due to I honestly have not removed it. In case you would love to cast off it, as a result, you wish to observe the given steps paying interest.

Steps to remove ?m=1 from blogger URL

  • Go to Blogger Site
  • Go to Theme
  • Click on Edit HTML
  • Press Ctrl+F and find </body>
  • Copy the code given below
  • Paste that code above the </body> tag

HTML
<script type='text/javascript'>
//<![CDATA[
var uri = window.location.toString();
if (uri.indexOf("%3D","%3D") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("%3D"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("%3D%3D","%3D%3D") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("%3D%3D"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("&m=1","&m=1") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("&m=1"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("?m=1","?m=1") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("?m=1"));
window.history.replaceState({}, document.title, clean_uri);
}
//]]>
</script>
  • Now save the Theme
  • Done!

Final Word

I hope you have got efficiently introduced this code to your blog. If you want my guide on getting rid of ?m=1 from blogger, please go away a comment approximately our paintings and tell us your opinion. We adore recognizing your mind.