How to remove "?m=1" from blogger

How to remove "?m=1" from blogger

How to remove "?m=1" from blogger blog

 Hello friends, 

After a month I'm sharing on my blog. How to remove "?m=1" from blogger blog.

Because if we create blog using Google blogger then we get m=1 with blog address.

So here you can say good bye to this tag "m=1".

Just copy the below highlighted code and paste it on your blog template.


Also Check: How to type English to Telugu 


How to hide "m=1"?

  1. Go to blogger.
  2. Now go to Template section
  3. Click on edit HTML.
  4. Search </body> and paste the below code before <body>.
  5. Save the theme. And say goodbye with this annoying tag.


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

I redesign a blogger template and use this code for remove m=1. You can check it.

1 comment

  1. Wynn Palace, Las Vegas, NV - JSM Hub
    Wynn Palace, Las 당진 출장마사지 Vegas, NV. The Wynn hotel is centrally 안성 출장샵 located on 청주 출장안마 The Strip, a 13-minute walk from Fashion Show Mall and 제천 출장안마 off exit 26. 남양주 출장마사지 Rating: 4.1 · ‎8 reviews

    ReplyDelete