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

When you visit a website (blogger platform) on mobile, notice the address bar will have the paragraph ?m=1, have you ever thought in your mind how to delete this text? Today Blog Share Tips will share with you the procedure replace ?m=1 on Blogspot mobile address bar, help your blog display in a more professional way without affecting SEO,


how to remove m 1 and m 0 in the blogger
how to remove m 1 and m 0 in the blogger
how to remove ?m=1 and ?m=0 in the blogger
Implementation Steps

Step 1: First go to the blogger admin page - Subject - edit HTML.

Step 2: Ctrl + F find the

</head> tag and paste the code below it.

<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>
Step 3: Save the topic and enjoy the results.

The trick is that simple. Hope with this small trick will help your blog more professional, if you encounter any errors do not hesitate to comment below so everyone can help.
If you need help, ask questions here
https://support.google.com/blogger/thread/34253179?hl=en&msgid=34253179

17 Comments

  1. It says error parsing xml
    I think there is some mistake in code.

    ReplyDelete
  2. ok here's the result.
    It worked on android phone i.e google pixel in the following browsers: chrome, opera and firefox.

    It didn't work on iphone for chrome browser, but worked on iphone safari browser.

    ReplyDelete
  3. Grate !!!

    Thanks Dear Its Work

    ReplyDelete
  4. Love you bro Its worked thanks you so much.... https://www.gangoh.com

    ReplyDelete
  5. it worked. But i have an issue. https is not showing the locked symbol after doing so.

    ReplyDelete
  6. Replies
    1. Hi I have written how to remove m=1 from blogger detail article once visit my check it out: https://www.codenblog.com/2020/11/remove-m1-from-blogger.html

      Delete
  7. Thanks.
    Learn Blogger related everything https://infokaal.blogspot.com

    ReplyDelete
  8. Where to find blogger admin page

    ReplyDelete
    Replies
    1. bro its very simple just get it here https://www.cobietech.com/2020/09/simple-steps-to-remove-m1-and-m0.html

      Delete
  9. https://www.insurancefinances.com/p/contact.html

    ReplyDelete
  10. Nice informative article. I have written details article with gif images
    https://www.codenblog.com/2020/11/remove-m1-from-blogger.html

    ReplyDelete