When you see '?m=1' at the end of a Blogger URL, you're looking at a parameter that Google uses to display the mobile version of your blog when a user accesses it from a mobile device. This tail tells the server to adapt the website’s interface for better viewing on smaller screens. But why should you consider removing it, and how can it affect your blog’s performance? Let’s decipher.
Step-by-Step Guide to Fix https://XYZ.blogspot.com/?m=1 in Blog
Step-1: First, Login into the Blog Dashboard, Go to the "Theme" Section.
Step 2: You will see the customize button. On the right side of the customize button, you will see a drop-down triangle arrow; click on it. Then, you will get a list of Options. Click on "Edit HTML."
Step-3: Backup Your BlogBefore making any changes, it's crucial to back up your entire Blogger blog. This ensures that you can restore your content and settings in case anything goes wrong during the theme code editing process.
Step-4: After Clicking on "Edit HTML", You will see the theme file of your present site. Press "Ctrl + F" and Search for </body>, or you can just scroll to the bottom of the HTML code.
<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>
And that's it! You've successfully removed the ?m=1 from your Blog URL. This simple method ensures a cleaner and more professional look for your blogger.
I have shared the step-by-step guide on how to remove ?m=1 from the blogger URL. You can follow it and make your website more professional.