How to remove ?m=1


m=1


blogger ?m=1 Problem solved

Remove m=1 from your blog

If you're facing m=1 problem in your Blogger domain address, then this content will help you to solve your problem.

M=1, a common problem of every Blogger user. If your blog is new and you're not using any custom domain, instead you're using the free blogspot.com domain, then you will see this problem on your blog's address.

I also had to face this problem. Some will say that ?M=1 is a problem for your site. However, It’s just a mobile view and has no effect on your site. Though it slow downs your site a little bit. Other than that there is nothing to worry over m=1. But for a better appearance on browsers, you can still remove this from your site's address. 

So, to help you guys, I've come up with a 2 step solution! What are they? Well, nothing special, just 2 simple steps that you should take to solve this problem.

How to remove ?m=1 from your blogger, problem fixed!

Step 1:-

Go to your blogger dashboard,  then go to your layout and add a html widget by clicking onto “Add a gadget” and then add the 'HTML/JAVASCRIPT' gadget anywhere on your blog's layout, no additional place needed.

Step 2:-

Now, all you have to do is copy this entire code given below↓


👉<script>/*<![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);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>

Then paste this code at your html widget and save the widget.

How to remove ?m=1 from your blogger, problem fixed!

Now, go to your blog to check, refresh the page and you’ll see that your problem is fully solved.

To get more content updates like this here, subscribe to our feed and get the latest updates.



Post a Comment

Previous Post Next Post