0
The Code comes after blog URL in mobile view is ?m=1 and ?m=0 in the address of a browser Like
http://BLOG_NAME.com/?m=1 or ?m=0 It indicates that someone is accessing our blog with a browser detected as mobile devices.


A website can recognize them with an identity that we know as a User Agent (UA). Every browser is like an agent that will act as a bridge between the user and a website.

In the blog service that we use today, there are two parameters that can be used by its readers. As we know that parameter m=1 is indicating that the user accessing it through the mobile device, there is also an m=0 parameter which indicates that we are accessing the blog via desktop mode, but this parameter is not visible.

Remove the parameter ?m=1 and ?m=0 by disabling mobile template:

Follow Bellow Steps : ⇓

Step 1: Go to your Blogger Template

Step 2: Choose Your effective Blogger

Step 3: Click on  Theme  from Left Side Manu

Step 4: Click on  Edit HTML 

Step 5: Clik on HTML Box and press  Ctrl + F   and find 

Step 6: Copy Bellow ↴ Code and past above Tag

 This Script for Fix Url Error Code "?m=1" 

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<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>

 This Script for Fix Url Error Code "?m=0" 

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<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=1"));
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=1"));
window.history.replaceState({}, document.title, clean_uri);
}
//]]>
</script>

Step 7: Click on  Save Theme 

 Thank you..!

Post a comment

You are welcome to share your ideas with us in the comments!

 
Top