Why blogger use ?m=1?
Some Blogger’s outdated themes lack responsive design, they display different versions for desktop and mobile users. Due to that Blogger introduces the ?m=1 parameter in URLs mobile devices, so as to identify the devices properly.
I will explains how to remove the ?m=1 URL parameter from your Blogger website with full guides, so as to enhancing its professionalism and eliminating separate URLs for desktop and mobile devices.
How to remove ?m=1 from Blogger
To remove the ?m=1 from the Blogger URL, follow the steps below.
Step-1: Go to the Blogger dashboard and select the theme option
Step-2: Now click on the “Edit HTML” option from the drop-down menu.
Step-3: Now you have to add the below script just below the </head> tag.
<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>
Step-4: Now save the code and the ?m=1 will be removed from the blogger website for mobile devices.
That’s all.
Don’t forget to leave your comment, subscribe and follow us on our social pages for more updated full guides to succeed in blogging and others.
You are free to contact us, if it is still doesn’t clear to you to achieve the task.