Every blogger has this problem with his/her blogger site URL. And literally, no one can fix it. I have watched a lot of videos read 100s of articles but none of their methods works.
The ?m=1, ?m-0, ?m=1, m-0 at the end of URL comes if you are using any type of theme or template for your blogger site. This URL denotes that your site has been visited by the user or viewer through a mobile phone.
Table of Contents
Does ?m=1 or any of these types of words or codes in your site URL affect blog SEO or rank
No, these words like ?m=1, m=0 or many like that in your URL does not affect the SEO of your blog post or page. Now the reason for no effect on SEO is that they are originally not on your URL, these words or suffix don’t just indicate that your site has been visited through a mobile device. It means that they are only indicators.
What are the reasons for?m-1,?m=1,m-0, or such suffix on your URL
Now notice that when you visit your blog post through a desktop you won’t see any such suffix holding on your URL. And when you visit through a mobile device then you see that suffix or words. It means that they are only visible on a mobile device as they are indicators of analytics through a mobile device.
How can you remove or fix the ?m-1,?m=1,m-0 or such suffix on your URL
Since I have told you that these are not any errors and they also don’t affect your seo. But if you want to fix or remove these suffixes from your url then there are a lot of method on the internet claiming that they can fix it. But literally, I wanna say that none of them works because it’s not an error or any problem. These methods only hide the ?m-1,?m=1,m-0, or such suffix from your site URL.
Now in these methods of so-called fixes, you have to add a code to your blogger html in order to hide the suffix. This code gives a command to your web browser to hide the particular word or suffix from your site URL.
Html Code to hide ?m-1,?m=1,m-0 or such suffix from your site URL :
<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>
How to apply the above code on your blogger site to remove or hide ?m-1,?m=1
- Copy the code from <script type=’text/javascript’>…. to…..</script>.
- Now go to your blogger page.
- Click on theme
- Now click on edit HTML by clicking beside the customize button.
- Now paste the code above the closing body tag(</body>) on you blogger HTML code
Note : Closing body tag could be found at the most bottom of your HTML code