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

    16 comments:

    1. This comment has been removed by the author.

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

      ReplyDelete
    3. 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
    4. Grate !!!

      Thanks Dear Its Work

      ReplyDelete
    5. This comment has been removed by the author.

      ReplyDelete
    6. This comment has been removed by the author.

      ReplyDelete
    7. Thank you for this great post. I hope your readers also going to like my technology and seo related blog proseotech.xyz

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

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

      ReplyDelete
    10. Wow, it works like magic on my blog I believe my eye. Thanks God bless.

      ReplyDelete