How To Remove M=1 From Blogger URL ? — Beginners Guide - Fiolty

How To Remove M=1 From Blogger URL ? — Beginners Guide

How To Remove M=1 From Blogger URL ?

Want to remove m1 from Blogger Url ? If Yes then you are at the right place . In this article we are going to share a code which can Helps you to remove m1 from Blogger URL . 

I think most people know that why why this error is coming and why should we need to remove m1 from Blogger Url.  If you don't know then let's discuss it First —

Well, when you open your blogger website on your mobile device you'll see some extra codes are comming after your blog url "M=1' or "M=0" basically you'll see this problem when you connect a custom domain to your blog and open your blog on mobile devices.

Why Should We Need To Remove M=1 From Blogger Url?

Search engine optimization is essential for a website to rank. And if you’re running a Blogger blog and facing m=1 in the Blogger SEO. The Blogger Content Management System is programmed so that canonical URL serves to desktop and canonical URL+m=1 to mobile users, that cause indexing issue.

And In Future If You try to move your Blogger website to WordPress then you'll be not able to do this , you'll lose your SEO Ranking and you got 404 error on all your url . Because google rank your all url with "M=1" and WordPress create new url for all posts.

How To Remove M=1 From Blogger Url ?

Login To your Blogger Account Then Click On Theme Section > Click On 3 Dot > Then Click On Edit Html > Now Looking for /head tag paste the Below Script Just Above/ before the /head Tag. 

<!--[ Remove M=1 from Url By Fiolty]-->
<script>//<![CDATA[
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 

Hey Buddy, I hope you like this tutorial if you have any question related to this topic then feel free to ask ! and don't forget to give 5 Star rating If this article Helpful to you .

Rate the article ツ