Blogger URL

 Blogger URL:-


Blogger URL is your blog address ,using this URL people access your blog.In Blogger Websites , When we access the Website in Mobile, We see that ?m=1 is showing in the Website URL. Here I Discuss about How to remove ?m=1 from Blogger URL.

How to remove ?m=1 from 

Blogger URL:-


  • Login on Blogger.com
  • Goto Theme Section and Click on Three Dots 
  • Click On Edit HTML then click on the Code 
  • Search (Press CTRL+F) and type </body>
  • After getting this, copy below code and paste it before </body>

<script type='text/javascript'>
//<![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);
}
//]]>
</script>

  • Save the Theme and view Blog
  • Done

This post is related to-

Blogger URL
How to remove ?m=1 from Blogger URL
url blogger
blogspot url
homepage url blogger
permalink in blogger



Post a Comment

0 Comments