How do I remove "?m=1" from url Blogger Site

How To Remove "?m=1" From Blogger URL (Easy Fix)
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
How do I remove m=1
How to Remove Blogger m=1 from URLs, Serve Clean URLs/td>

Welcome DaudBD Blog.Toady I am Sharing Blogger palteform How to Remove Blogger ?m=1 Url tutroial and Setup guide .

Removing the "?m=1" from Blogger URLs is a common request to serve cleaner and more user-friendly URLs. Here's how you can do it:

What is Blogger m=1 Issue?

The “m=1” query parameter that appears in the URL of your Blogger blog is related to the mobile version of your site. It is automatically added to the URLs of your blog when someone accesses your site from a mobile device.

The Blogger CMS serves canonical URLs to desktop and canonical URLs with m=1 to mobile users. This article will explain how to fix the Blogger m=1 issue for the Blogger blog.

Desktop Version:

Mobile Version:

How to remove ?=m1?

Access Your Blogger Dashboard:

Log in to your Blogger account.

Go to Settings:

In the Blogger dashboard, click on the "Settings" option in the left-hand menu.

Select "Search preferences":

Under the "Settings" section, click on "Search preferences."

Edit "Custom robots.txt":

In the "Crawlers and indexing" section, you'll find "Custom robots.txt." Click on the "Edit" link next to it.

Modify Your Robots.txt File:

In the "Custom robots.txt" editor, you can add the following code to instruct search engines not to index URLs with the "?m=1" parameter: Now paste below code robots Txt .

User-agent: Mediapartners-Google
User-agent: *
Disallow: /*?m=1

This code tells search engines to disallow URLs that contain the "?m=1" parameter.

Save Changes:

After adding the code, click the Save changes button.

Related Posts

Important!Before we begin adding XML codes, I strongly advise you to make a backup of your current theme. If an issue arises, you can always restore it later.

Step 1: First of all Login to your Blogger Dashboard.

Step 2: On Blogger Dashboard, click Theme.

Step 3: Click the arrow down icon next to the 'Customize' button.

Step 4: Choose Edit HTML, you will be redirected to the editing page.

Step 5: Next search the </head> or </body> Copy The code and paste code just above the </head>or </body>

  /* Remove m=1? Script by DaudBD.Com */
<script type='text/javascript'>
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);

Step-4: Now save the code and the ?m=1 will be removed from the blogger website for mobile devices.

If the above code is not working well then you can use the below code to remove the ?m=1 from the Blogger URL in Mobile.

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

Now the biggest question is should you remove them ?m=1 from your Blogger website using a script or not?

is it affect your Blog SEO and does it improve the speed of Blogger?

Well, the answer is a little tricky. Using this script doesn’t remove the ?m=1 from the blogger URL permanently. Instead, it again redirects this URL to the original URL in the user’s Browser.


Please note that making changes to your blog's URL structure can have implications for SEO and existing links. Ensure that you are aware of the potential consequences and have proper redirects in place if necessary. It's also a good practice to back up your blog before making significant changes.

About the Author

Hey! I'm Daud, Currently Working in IT Company BD. I always like to learn something new and teach others.

Post a Comment

To avoid SPAM, all comments will be moderated before being displayed.
Don't share any personal or sensitive information.
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.