How to remove the URL? M = 1 on the mobile display

How to remove the URL? M = 1 on the mobile display

How to remove the URL? M = 1 on the mobile display
Sayem Tutorial - 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 HTML
Step 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 a Blog
How to remove the URL? M = 1 on the mobile display
How to remove the URL? M = 1 on the mobile display
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.
All Credit Bloggerbyte
Previous Post
Next Post

post written by:

I am a web designer and developer. Sharing knowledge is my passion and web designing is my interest but it is not bigger than my interest in Islam.

0 Comments: