how to remove ?m=1 from blogger website

how to remove ?m=1 from blogger 

Hey fellow bloggers today I am going to share an important code from somadanmedia for you to make your site look professional so let's get started.

how to remove ?m=1 from blogger

Why do you need to remove "?m=1".

  If you don't want it to affect your website SEO, there is no other way but to remove "?m=1". If not removed, the visitor will treat it as a URL too. And it looks very unsightly, if not removed it can cause problems on your site. So today I will share a code through which you can remove "?m=1" from your site. So let's know why late.

?m=1 must be removed in your published url when it exists in my url. If it exists then you need to remove it. But if your blogger site is very old and many posts are indexed with it. And I don't think it's necessary to remove it, because then it might affect your site.

?m=1 is a query string as part of the URL. When you share a post on a blog, this? Blogger m=1 problem solution will be saved in your url. Google will read the query string and treat it as a search parameter in which? stands for all blog posts and "1" represents social media rank.

If you remove it from your blog and you use Google Analytics you may get these errors. Which is given below.

Why remove it from your blogger site?

 Because if you don't move it, your post will have two URLs. Due to which Google will be confused about which URL will be indexed and whose redirect URL will come.

In the desktop version your URL will look like this: 

https://www.arbindnomantech.blogspot.com



how to remove ?m=1 from blogger

You can remove it by following the steps below

  •  Login to your blog's dashboard.
  •  Click on Theme Options.
  •  Click Edit HTML.
  •  Copy the code he downloaded.
  •  Then paste it above <head>
  •  After that click on save button to save the theme.

 Now successfully removed ?m=1 from   blogger site.

Now*

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



Previous Post Next Post