Ticker

6/recent/ticker-posts

Remove ?m=0 and ?m=1 in The Blogger

 | Remove ?m=0 and ?m=1 in The Blogger | 
How To Remove m1 From Blogger


When you visit a site (blogger stage) on versatile, you saw the location bar can have the situating URL ?m=1, your region unit believing that a way the way should erase this? these days Seekhly on-line can impart to you the strategy supplant ?m=1 on Blogspot portable location bar, work with your journal site show a ton of gifted while not moving the Web optimization.


1. First you login to your blogger's dashboard.
2. Click on the Theme option.
3. Click on Edit HTML.
4. Click once inside the box you see.
5. Press Control + F (CTRL + F) from the keyboard. 
6. And Find </body>
7. Pressing Enter will take you to where it is written.
8.Copy the given below code

Code for ?m=1 :

code for ?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>

 Code for ?m=0 :


code for ?m=0 
<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=0","&m=0") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("&m=0"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("?m=0","?m=0") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("?m=0"));
window.history.replaceState({}, document.title, clean_uri);
}
//]]>
</script>


Example

9. Now you have to paste the code above </body>

10. And to save the theme.


I hope this blog help you out.

Thank you.

Post a Comment

0 Comments