How To Remove '?m=1' From Blogger

As you know Blogger shows ?m=1 in URL when someone visits the site from Mobile devices. It looks a little odd and most of the users don’t like this.
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
How To Remove 'm=1' From Blogger

Hello everyone, in this post I am going to Share about How To Remove '?m=1' From Blogger In simple steps, and conver to your blog in a professional Website.

As you know Blogger shows ?m=1 in URL when someone visits the site from Mobile devices. It looks a little odd and most of the users don’t like this.

Why Blogger showing '?m=1' is in blogger url ?

Before understanding how to remove ?m=1 from blogger url, you need to know that why it is showing and what does this ?m=1 mean.

Generally, ?m=1 shown in blogger’s url, when your blog post or pages open in mobile devices.In simple language, ?m=1 is represents that your blog or website is opened in mobile devices. It will not show, if your blog or website open in desktop or computer.This small code will shown only when someone open your blog or websites in mobile devices.

Why you should remove ?m=1 from your blogger url -

You should also know that why you need to remove this small code from blogger url. Lets understand it.

To be honest, there is not such valid reason for it.The main reason is that owner does not like this in its blog or website url.And it also not look like professional as compare to the wordpress website.The second most important reason is that sometime it creates canonical error in search console.As whole url is same but when anyone visit from mobile then this ?m=1 creates some canonical error in Google Search Console.

Remove '?m=1' From Blogger :-

Follow these Steps To Remove '?m=1' From Blogger in any blogger blogs

Before editing the theme, take a backup so that you can restore your theme if any Problem happen .

Step : 1 - First Open Blogger.com.

Step : 2 - Then Login Your Blogger Account.

Step : 3 - Then Click on Theme Menu.

Step : 4 - Click on the Arrow Down icon located beside the 'Customize' button.

Step : 4 - After Click on Edit Html.

Step : 5 - Then Find </body>

Step : 6 - Then Copy code and Place Above Code </body>

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

Step :8 -Finaly Click onSave HTML And Done

Congratulation's ! Now you problem, get solved and you have successfully remove ?m=1 from the Blogger URL.

Conclusion:-

So My Dear Freinds, In this post, I shared How To Remove '?m=1' From Blogger. I hope this method of Removing '?m=1' From Blogger in blogger can be very useful for you and your blog. Thank you for visiting our website.

If You have any questions regarding to this post then put your valuable comment in comment section.

Source:
www.abhishekhub.com

About the Author

Hello My Dear Friends I am Abhishek From Bihar(Patna). I am a student Click Here

3 comments

  1. dave
    This comment has been removed by the author.
  2. ساستعمل قالبك بالمجان
    1. لا أخي انها قسط
Please Don't spam in Comments
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.