Related Posts
What is ?m=0 or ?m=1 suffix?

If you pay attention when you visit any Blogger blog on the mobile phone, then there you will see, ?m=1 or ?m=0 in the page address (URL). Usually, it is a mobile view parameter.It doesn't affect your blog SEO in any condition and also, it doesn't affect in Google Search Console.
What does ?m=0 or ?m=1 indicate?
?m=0 suffix indicates that the blog is being accessed in Desktop Mode on a cellular/mobile device.
?m=1 suffix indicates that the blog has been accessed from Cellular/Mobile Mode.
Is it possible to remove ?m=0 or ?m=1 suffix from Blogger URLs?
No, It is also not practically possible for us to remove the m=1 from the Blogger URLs.
Note that you can hide ?m=0 or ?m=1 from your Blogger URLs in Mobile View by implementing javascript code to the theme file, but the javascript will visually hide the ?m=0 or ?m=1 suffix, not permanently remove it.
In my blog address, also shows this ?m=1 because I have not hidden it. If you want to hide it, so you need to follow the given steps with attention.
Hiding ?m=0 or ?m=1 from Blogger URLs
- First of all Login to your Blogger Dashboard.
- Click on the 'Theme' section.
- Backup your Theme, so you can restore it later if any problem occurs.
- Click on 'Edit HTML'.
- Press CTRL+F (Find) on your keyboard.
- Type </body> in the search box to locate the closing body tag.
- Identify the two scripts below. Copy the ?m=0 Code if your Blogger URLs have the ?m=0 suffix, and copy the ?m=1 Code if your Blogger URLs have the ?m=1 suffix. Don't be confused.
- Paste the copied code above </body>.
- Click on Save.
<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=0","&m=0") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("&m=0"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("?m=0","?m=0") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("?m=0"));
window.history.replaceState({}, document.title, clean_uri);
}
//]]>
</script>
<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>
Now refresh your Blogger Site, you will see there is no ?m=0 or ?m=1 suffix visible in your Blogger URLs.
Conclusion
That's It! I hope this post may helped you to hide ?m=0 or ?m=1 suffix from your Blogger URLs. Leave a comment or feedback down below. Thank you!