How to Remove ?m=1 From Blogger Post URL

Today we will know how to fix and Remove ?m=1 problem in Blogger URL . It is very easy to fix this problem.

Whenever we create our blog on Blogger, we all face this problem, that when we open our blog in desktop, then your URL appears correct.

Read More: How To Add Stylish Facebook Like Box Blogger Widget

But if we open our blog in mobile then ?m=1 or ?m=0 appears attached behind the url of our blog. I am going to tell you how to fix this problem.

How to Remove ?m=1 Problem from Blogger

Let me tell you that there is no problem with this. We remove it so that the URL of our blog looks good and there is no problem.

But if you move your blog from Blogger to WordPress, then you will have some problem because of ?m=1. Redirect error comes, so it is very important for you to fix it.

  • First of all you have to go to the theme of your blog.
  • Now you have to go to Edit Html .
  • Now you will get </body> ‘s optin at the last.
  • Now you have to paste this code above </body> which I have given you 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>

After doing this Blogger Url ?m=1 Problem will be fixed. How did you like this information, definitely tell us in the comment and also if there is any problem then tell it also.

You guys must have understood that how to remove ?m=1 from the URL (Link) of Blogger Blog/Website? Keep visiting this site every day for more similar blogging related information.

Sharing Is Caring:

Hello Friends, My Name is Roton Kumar Roy (Founder) I am a Full-Time Blogger, Youtuber and Digital Marketer. I have start infotechbot.com for those people who want to learn Complete Blogging Course sitting at home for free online.

Leave a Comment