How to Disable Mobile View Parameter “?m=1?” in Blogger URL : Remove /m=1? – m=0? from Blogger Url

If you are a blogspot user, then you must notice there is ?m=1 or ?m=0 sign after your blog address. If you want to Learn How to remove ?m=1 from blogger URL or Remove /m=1? – m=0? suffix when visiting from mobile then please read this post carefully.

How to Disable Mobile View Parameter "?m=1?" in Blogger

How are you bloggers? The most used blogging platforms in Bangladesh are WordPress and Blogger. Which platform have you chosen for blogging inside? If your answer is with Blogger platform then surely you are suffering from a problem and that is after the name of your site or at the end of any post on your site ?m=1. If your website is hosted on Blogger, you will see that when someone opens your website on a mobile device, it redirects to ?m=1. For example: www.oralcoxbd.xyz to www.oralcoxbd.xyz?m=1. But if you see your site on desktop or laptop, you will not see this ?m=1 sign. If you see it on mobile at the end of your site URL and you wanna remove it, then this post is only for you. In this post we’ll learn How to remove? m=1 from Blogger.

Let’s go now? What is m=1?

?m=1 is Blogger’s mobile view parameter. Which is called mobile view parameter in English. Even if it is, your site will not have any problem. Because the link of your website will be indexed by Google without canonical tag ?m=1. The only problem is that your site will not look professional to the user.

Note: There are many people who manage your website on mobile instead of desktop or laptop. In this case, keep in mind that when you add the link to your site map in Google search console, the link that you copy, if the link has ?m=1 then cut and paste it. Because if you do not cut and paste the link, your sitemap will show an error.

How to remove ?m=1 from Blogger website link:

?m=1 can be removed in two ways. In your interest I will share both methods below.

1st method

  • Select the Theme option in your dashboard. (After logging in to Blogger)
  • Then click on the Arrow icon next to the Customize button and click on the Mobile Settings option. 
  • By default Mobile will be selected there, you will select Desktop
  • Then click the Save button will work.

2nd method

  • Select the Theme option in your dashboard. (After logging in to Blogger) 
  • Take a backup of your site. So if you make a mistake, you can fix it again later. 
  • Then click on the arrow next to the Customize button and click on the Edit Html option. 
  • This step is very sensitive. First find the </head> tag by pressing Ctrl + F. 
  • Copy and paste the code below the </head> tag. Be careful not to put the code under the </head> tag by mistake. This will show the site error.

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

  • Now save the template, your work is done.

Hope you enjoyed today’s tutorial. If you want to get more tutorial like this Please visit our site regularly to get new ideas. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *