---Advertisement---

How to Remove ?M=1 From Blogger URL (Easy Method) 2024

Published On:

How to Remove ?M=1 :The “?m=1” parameter appended to a URL in Blogger is used to force a mobile version of a website to be displayed. When this parameter is present, the website will display a simplified version that is optimized for smaller screens and touch-based navigation, rather than the full desktop version.

In some cases, the “?m=1” parameter can be added to a URL automatically, for example, when a user accesses a website from a mobile device. This can result in URLs that include the “?m=1” parameter, even when the user is not intentionally requesting the mobile version of the website.

If you prefer to have clean and consistent URLs, you can remove the “?m=1” parameter using the custom redirects method described in my previous answer.

How to Remove ?M=1 Blogger

Why Blogger shows ?m=1 in Mobile URLs ?

Blogger shows the “?m=1” parameter in mobile URLs to indicate that the mobile version of a website is being displayed. This is a way for Blogger to dynamically serve a version of the website that is optimized for smaller screens and touch-based navigation when a user accesses the website from a mobile device.

The “?m=1” parameter is appended to the end of the URL as a query string and is used to specify that the mobile version of the website should be displayed. This allows the website to serve a different version of the page based on the user’s device and viewing preferences, while still retaining the same base URL.

By adding the “?m=1” parameter to the URL, Blogger can provide a better user experience for mobile users and ensure that the website is properly optimized for smaller screens and touch-based navigation.

Read Also: What is SEO Copywriting || How to Write an SEO-friendly Copy?

How to remove ?m=1 from Blogger Using Scripts

You can remove the “?m=1” parameter from Blogger URLs by using JavaScript code. Here’s how:

  • Log in to your Blogger account
  • Go to the “Theme” section and select “Edit HTML”
  • Add the following JavaScript code to the head section of your HTML code:
<script type="text/javascript">
  if (location.search == "?m=1") {
    location.replace(location.href.replace("?m=1", ""));
  }
</script>
  • Save your changes

This JavaScript code checks if the URL contains the “?m=1” parameter and, if so, replaces it with a clean URL without the parameter. This will effectively remove the “?m=1” parameter from your Blogger URLs.

Read Also: How to Index Backlinks Fast In Google in 2024

Blogging

Follow Us On

---Advertisement---

Also Read

Leave a Comment