How to remove ?m=1 and ?m=0 in blogger

3 Step to remove ?m=1 and ?m=0 in blogger

When you view your Blogger site in desktop mode or desktop, you see something like https://www.techwebmate.com.

But when you look at your Blogger site only on smartphone, you see something like https://www.techwebmate.com/?m=1.

Of these, nothing comes to your mind by looking at the URL of the desktop, because it does not contain ?m=1. But by looking at the URL containing the smartphone, the question comes to your mind how to remove it, because it has ?m=1.

So today in this article you will get information about how to remove ?m=1 to show your blogger site in a professional way without affecting SEO.

How to remove ?m=1 in blogger

Go to your Blog and select the Theme by clicking on the Main Menu.

Step one

  • First of all, you search Blogger on Google and go to your Blog and then click on the Main Menu and select the Theme.

Then there is a down arrow under CUSTOMIZE on the Theme page, click on it and select Edit HTML

Step two

  • On the Theme page you will find CUSTOMIZE written, there is a down arrow 🔽 below it, click on it. Then a pop up box will open in which you have to click on Edit HTML.

Finally paste <script> just below the <head> tag.  After this click on More option and select Save

Step three

  • Then you will see something like this, copy the <script> that I have given here and paste it just below the <head> tag. After this, click on More option and select Save.

<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>

Done

Just follow this step ?m=1 will not be visible on your blogger site. Hope this little information helped to make your blog more professional. If you have any questions, comment below so that I can assist you.
Next Post Previous Post
No Comment
Add Comment
comment url