How to remove m=1 from blogger ?

How to remove m=1 from blogger ?

The “m=1” parameter in the URL “https://madankc.com.np/?m=1” indicates that the webpage is being displayed in mobile view. In Blogger, the mobile view of a webpage can be enabled or disabled by adding or removing the “m=1” parameter from the URL.

To remove the “m=1” parameter and display the webpage in desktop view, you can simply remove the “?m=1” from the URL and load the page. For example, the URL “https://madankc.com.np/?m=1” could be changed to “https://madankc.com.np/” to display the page in desktop view.

If you want to permanently disable the mobile view of the webpage, you can do so by going to the Blogger dashboard and navigating to the “Template” section. From there, you can click on the “Customize” button and go to the “Advanced” tab. Under the “Mobile” section, you can choose to disable the mobile view of the webpage. This will prevent the “m=1” parameter from being added to the URL when the page is accessed from a mobile device.

Keep in mind that disabling the mobile view of the webpage may not be the best option, as more and more users are accessing the internet from mobile devices. It is generally recommended to optimize the webpage for both mobile and desktop devices in order to provide a good user experience for all users.

Any HTML script to remove m=1?

There is no specific HTML script that can be used to remove the “m=1” parameter from the URL of a webpage. The “m=1” parameter is added to the URL by the server and is not part of the HTML code of the webpage.

You can remove m=1 from Cloudflare if you use it?

It is possible to remove the “m=1” parameter from the URL of a webpage using Cloudflare, but the specific steps to do so will depend on the configuration of your Cloudflare account and the specific needs of your website.

One way to remove the “m=1” parameter from the URL is to use Cloudflare’s Page Rules feature. Page Rules allow you to create custom rules that apply to specific URLs on your website. You can use a page rule to redirect any URLs with the “m=1” parameter to the equivalent URL without the parameter, effectively removing the parameter from the URL.

To create a page rule to remove the “m=1” parameter from the URL, you will need to do the following:

  1. Log in to your Cloudflare account and navigate to the “Page Rules” tab.

  2. Click on the “Create Page Rule” button.

  3. In the “If the URL matches” field, enter the URL pattern that you want to match, including the “m=1” parameter. For example, you could use a pattern like “madankc.com.np/?m=1” to match all URLs with the “m=1” parameter on your website.

  4. In the “Then the settings are” field, choose the “Forwarding URL” option and set the status code to “301 (Permanent Redirect)”.

  5. In the “Destination URL” field, enter the URL of the page without the “m=1” parameter. For example, if the URL with the parameter is  you could enter “https://madankc.com.np/” as the destination URL.

  6. Click on the “Save and Deploy” button to save the page rule.

This page rule will redirect any URLs with the “m=1” parameter to the equivalent URL without the parameter, effectively removing the parameter from the URL. Keep in mind that this will only work for URLs that are accessed through Cloudflare and will not affect URLs accessed directly from the origin server.