Remove ?m=1 and ?m=0 in The Blogger | How To Remove m1 From Blogger

Remove ?m=1 and ?m=0 in The Blogger | How To Remove m1 From Blogger

How To Remove ?m=1 and ?m=0 in The Blogger

When you visit a site (blogger platform) on mobile, you noticed the address bar will have the site url ?m=1, your are looking a method how to delete this? Today Seekhly Online will share with you the method replace ?m=1 on Blogspot mobile address bar, help your blog site display a more professional without affecting the SEO.

Remove ?m=1 and ?m=0 from url - seekhlyonline.com
Remove ?m=1

How to remove m1 and m0 from blogger url




So Today I will guide you how to remove ?m=1 from blogger site. You have to follow below steps;

  • Login to your blogger account
  • Go to blogger dashboard
  • Visit Theme > Edit HTML
  • Press CTRL+F And Find </body>
  • Pate That Code Above </body>.

CODE

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


Picture will help you more how to paste this code.

Remove ?m=1 and ?m=0 in The Blogger - seekhlyonline.com
Remove m1


  • Save the theme and benefit from the results.

 

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

I hope this Script will help you to resolve your issue regarding how to remove m1 or m0 etc.
 


Post a comment

1 Comments