Today we will know, How to solve or fix the blogger URL ?m=1 problem. When we create a blogger website and open it on our mobile phone we see that our URL is ls like www.example.com/?m=1 that. 

So how to solve the ?m=1 problem?

You also recognize that you can not see the problem when you open your blogger website on a desktop or laptop. Because this is not a problem with your blogger website. The ?m=1 mainly shows when you open your blogger website on your mobile phone.

So we understand that this is not a major problem on your website URL. But with this ?m=1 URL is not looking good so, absolutely we need to solve the problem.

Let's see how to solve the problem step by step-

1. First copy the Html code below-



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



2. Then go to blogger.com >>Theme >> Edit HTML >

3. Then scroll down to the bottom. And you will see </body> tag.

4. Paste the HTML code before the </body> tag. And save it.

All done, now go to your blogger website and refresh it. Hope you can see the change that you want. Hope your ?m=1 code is now gone. And your website URL is looking more professional now.