;

How to Fix ?m=1 error in Blogger ? 5 Easy Steps

How to Fix ?m=1 error in Blogger ? 5 Easy Steps





How to Fix ?m=1 error in Blogger? 5 Easy Steps

Today, I will tell you the complete steps. How to remove?m=1 from your blogger website. If you have ever opened your blogger website on mobile, then you must have seen that the link of your website comes with ?m=1 or ?m=0.

Why do we need to remove m = 1? 

Because when your website starts to grow. When more users start coming to your blogger website. When you have a good user base. 

Then you feel that you should now transfer your site to WordPress and when you go to transfer, you have to handle any errors.

The most common issue is the redirected error in WordPress. With that error, the ranking of your site also falls very much and you do not get revenue either. 

So what you should do is that the redirect issue should be fixed in your blogger itself. And the traffic to your website should not be reduced and the ranking should not be lost.

How to Fix ?m=1 error in Blogger Website?

STEP 1: Open Blogger Dashboard

STEP 2: TAB Theme section

STEP 3 : Go to Edit Html

STEP 4: Go to Last Section

</body>

</html>

STEP 5: Paste the Code Above </body> section

* [code]

<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 code will definitely remove your ?m=1 or ?m=0 problem.