How to remove /?m=1 from blogger url-

 Hey Guys, in today's blog, we will read how to remove ?m=1 from blogger url remove code use. install to your Android mobile vs code editor . Earlier I have shared a blog on how to remove ?m=1 from blogger url remove code. 

How to take away ?m=1 from URL in blogger

  1.  1st you login to your blogger's dashboard.
  2.  Click on the Theme choice.
  3.  Click on Edit HTML.
  4.  Click once within the box you see.
  5.  Press management and App (CTRL + F) from the keyboard. 
  6.  Write down the search box you see within the corner and press enter. 
  7.  Pressing Enter can take you to wherever it's written.
  8. currently you have got to stick the code below. 
  9.  And to save lots of the theme.



 Here the Html code for blogger removing ?m=1

  <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>


 remove ?m=1 from blogger url [Source Codes]




Post a Comment

Previous Post Next Post