-->

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

Table of Contents [Show]

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 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 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.
Next
Previous

Related Posts

Open Comments ( 0 )
Close Comments

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

Post a comment

  • Please leave a trace according to the article title.
  • Not allowed to promote goods or sell.
  • Do not include active links in comments.
  • Comments with active links will be automatically deleted
  • Comment well, your personality is reflected when commenting.
  • If you want to write code it must be parsed first (especially Javascript and HTML)
  • Check the Notify me box to get notification via email when someone replies to a comment.
  • Use the <i> tag and ending with </i> code to write the code. Example:
    <i>#comments</i>
  • Use the <em> tag and end with </em> code to write a longer code or URL. Example:
    <em>#comments {margin:0; padding:10px 15px}</em>

Article Top Ads

Article Center Ads 1

Article Center Ads 2

Ads Under Articles

x
Subscribe

Get notified by email every time there is a new article. Free!