BloggerByte - How to remove the URL? M = 1 on the mobile display - When you visit a website (blogger platform) on a cellphone, try to pay attention to the address bar that has paragraphs? M = 1, do you think you want to delete the text? Therefore the BloggerByte admin sharing tips on removing? M = 1 in the Blogspot address bar and help your blog be more professional without affecting SEO.
How to remove the code m = 1 on the Blogspot URL
Step 1: First You have to go to the Blogger admin page > Themes> Edit HTMLStep 2: Ctrl + F and look for the
</head>
tag, then Paste the Script code below before the </head>
tag<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: Click " Save " and see the results
If you have a problem with saving template go to Parse HTML and put the above code in the box, then follow steps 1 to 3 again.
Here is the Example of BloggerByte Blog
That's all about How to remove the URL? M = 1 on the mobile display, Hopefully, the above article is useful to you.
thank you and good luck.
If you want to be buddy donors please contact admin via Whatsapp .Proceeds from donations will be used to extend the domain
bloggerbyte.net
. Thank you