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.

    No comments