showing ?M=1 in the blogger post url is not looking professinal. I personally hate it. And I know you also hate it.

That’s why you are searching on google about how to remove ?M=1 from blogger url. No worries!

Today, Here in this post, i will tell you how can you remove ?M=1 from blogger post in just 5 minutes.

Let’s get deep into it without wasting time.

When ?M=1 is showing in blogger URL?

before going ahead for removing ?M=1 from blogger url, you need to understand why it is showing and what does this ?M=1 mean. When it occurs?

Basically, this ?M=1 shows in URL when a visitor visit your website from a mobile device. this ?M=1 represent the mobile device.

It will not show when someone visited blogger website from desktop or laptop. This only shows when someone visited your website from any mobile device.

Also read:- Best SEO Friendly Blogger Templates

So, this ?M=1 is represent mobile devices.

Why you need to remove “?m=1” from blogger URL?

now, let’s talk about why you need to remove ?M=1 from blooger url.

Honestly, speaking there is no such valid reason for it. Then main thing is website owner don’t like it. It don’t look professional as compared to wordpress website.

The second reason is, sometimes it creates some canonical error in search console. The whole url is same but when anyone visit from mobile then this M1 is added and which created canonical errors in search console.

Above mentioned 2 are the mains reason why bloggers don’t like this in the blogger url.

I am sure now you are clear about it. now Let’s talk about how to remove m1 from blogger url.

Also Check:- How to Remove Date and Month From Blogger Post URL


Step By Step Guide to remove ?m=1 from blogger URL

remove ?m=1 from blogger

In order to remove m1 from blogger url just follow the below step by step guide:-

STEP 1: Open your Blogger dashboard and click on the theme section.

blogger theme option

STEP 2: Now click on cutomize button and go to edit html section.

edit html

STEP 3: After entering in to html section press “Control + F” and search for </body> . For better understanding you can check the below iamge.

search for body tag

STEP 4: Now, you have to copy the below given code and just paste it above the </body> tag. See below image for better understanding.

<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>
paste the code

STEP 5: Now just click on save button.

Congrats!! Now you are done and you have successfully remove m1 from the blogger URL.


Conclusion

Above i have shared the step by step guide on how to remove ?M=1 from blogger url. you can follow it and make your website more professinal.

One more thing i want to share this. If you are getting any indexing error after impelementing this thing, then i don’t recommend you to use this.

So, make sure if this trick affecting your website then don’t use it.

Do share this with other if you find it helpful. Your every share appreciate our efforts. 🙂 🙂

remove ?m=1 from blogger
0Shares