Welcome to Othero Tech

OtheroTech : A New Blog Where You Can Find Blogging Tutorials, Tips, Tricks, Online Tools, Templates and Many More...

  See All Posts

How To Remove "?m=1" From Blogger (Easy Method)

1.Going to the Blogger dashboard,2. Going to the Themes section and... clicking Edit HTML,3. Now you have to add the below script just below the <....
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

How To Remove "?m=1" From Blogger (Easy Method)

How To Remove "?m=1" From Blogger (Easy Method)

As you are aware, when a visitor accesses the website using a mobile device, Blogger displays m=1 in the URL. The majority of users find this to be somewhat strange in appearance.

You don’t want different URLs for desktop and mobile devices; a simple URL provides your website a professional image.

So, I'll demonstrate how to remove the?m=1 URL parameter from your Blogger website in this post. Additionally, I'll advise you on whether or not to put this on your webpage.

Why does Blogger display m=1 for mobile URLs?

When a mobile device is discovered, Blogger detects it and adds the "?m=1" option to the URL to deliver a mobile-friendly version of the blog. This is done to enhance the mobile device user experience and optimize the information for smaller screens. Usually, it has a more straightforward layout and style for easier reading and navigating on tablets and smartphones. You can delete this parameter from the URL if you'd like, but in order to provide mobile users a positive experience, make sure your blog is still responsive and mobile-friendly.

Why I remove m=1 from Blogger?

When indicating that the mobile version of the blog should be displayed, the "?m=1" in a Blogger URL is commonly used. If the URL were changed, a mobile device would see the blog's desktop default version. Removing it is probably something you'd like to do for other design or customization reasons, or because you prefer that your blog's desktop version be seen on mobile devices. But in order to give mobile readers a positive experience, you need to make sure your blog is still mobile-friendly.

Before starting please backup your blog template for any kind of error and easy restoration.

How To Remove ?m=1 From Blogger

  1. Going to the Blogger dashboard
  2. Going to the Themes section and clicking Edit HTML
  3. Now you have to add the below script just below the <head> tag
  4. Clicking Save That’s it! You have to just perform the above steps to remove m=1 in blogger.
<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>


<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>

    How is the code above implemented?

    You haven't given me the actual code to examine, but it looks like you're referring to a specific section of code or snippet. To help me explain how it works or offer assistance, please paste the code or provide more details.

    Conclusion

    Friends, tell me how you like this post about removing m=1 from Blogger. By now, you must be familiar with how to delete m=1 from Blogger and understand how the code functions once it is implemented.

    Please leave a comment below to let us know what you thought of this article on removing m=1 in Blogger so that we can also benefit from your insights and learn something new.

Getting Info...

About the Author

Hi there, this is Shouvik. I am a Bachelors in computer by qualification who loves to write about blogs, Helpful Tips, Tools, Premium Themes and all it's related topics. I'm the one that writes, publishes, and maintains all the articles you …

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.