4 step to remove "?m=1" without hurting on your blog SEO

We all know that "simplicity is beauty". So, in this post, I will guide you on how to remove ?m=1 from blogger URL, and make a simple professional URL. If you pay attention when you visit any Blogger blog on the mobile phone, then there will show you, ?m=1 in the page address (URL). Usually, it is a mobile view parameter.



I have seen around the internet (Google, Blogger help ) many Bloggers has asked questions on "how to remove?m=1 from blogger", but no one has any responded. So, I think why I am not resolving this issue! And finally, I have got a solution for this. Although I have got a solution for this, it was complicated to do.




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

You don't need to remove it in the context of SEO. Means if you don't remove ?m=1 it will not affect your blog SEO in any condition and also, it doesn't affect in Google search console (webmaster tool). But you could remove it only for making a user-friendly blog posts URL. 

Many newbies bloggers seem that it is an issue with the template, but the reality was completely different from their thoughts. It was not added by you (the theme developer), or anyone else, it was automatically added by Blogger CMS. But it depends on you whether you remove it or not. 

In my blog address, also shows this ?m=1 because I have not removed it. If you want to remove it, so you need to follow the given steps with attention.

4 step to remove ?m=1 from blogger URL




  1. Open your Blogger dashboard and click on the Layout.
  2. Click on Add a Gadget and select HTML/JavaScript
Now copy the code that provided below, and paste it on the HTML/JavaScript Gadget that you have added recently.

<script>/*<![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);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>


  • Save the Gadget and enjoy ?m=1 free URL.
I hope you have successfully added this code on your blog. If you like my guide on how to remove ?m=1 from blogger, please leave a comment about our work and tell us what your opinion. We likes to know your thoughts.

DREAM EMPIRE GH

2 تعليقات

أحدث أقدم
Copyright © 2023 DREAM EMPIRE GH. Copyright - DREAM EMPIRE GH ProTemplates