How To Remove ?m=1 From Blogger Blogspot Site

How To Remove ?m=1 From Blogger Blogspot Site

How To Remove Year/Month and .Html From Blogger Post Permalink Format To Be Like Wordpress URL ?
Hii everyone today i am sharing a new scricpt which will help you to remove ?m=1 from blogger url if we look for a demo if your open your website on mobile version you will see this url "https://seecoin.blogspot.com/?m=1" but after reading this whole article your mobile version url changes without ?m=1 on your site url.

So, if you want to remove ?m=1 permanently from your site the follow some simple steps that i have done to remove frrom my site.

#HOW TO REMOVE ?M=1 FROM BLOG URL IN BLOGGER

Step 1: Go to blogger.com, then choose the blog which you want to customize the permalink
.
Step 2: Now go to Theme Section.

Step 3: Click on Edit Html.

Step 4: Search for the </body> tag.

Step 5: Copy the below script.

Step 6:  Paste that copied javascript before </body>.

Step 7: Save the Theme Changes.

All Your Setting Done....

<script type='text/javascript' >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>

#CONCLUSION

Guys ?m=1 is only for showing purpose that will no change anything for seo so if you want to remove ?m=1 then you can change the url of your website via following steps that i have done on my site.