How to Fix M=1 Error in WordPress Blog [ Updated ]

I am guessing, you just migrated your blogger blog to wordpress.

M=1 is one of the common problem bloggers face when they migrate their blog from blogger to wordpress.

I incountred the same problem a few days ago in one of my client’s site.
His blogs have redirect errors in the search engine console, you might be facing the same problem.

Blogspot uses m=1 to differentiate desktop users and mobile users.

And this problem can be in a different form in your blog like &m=1 or ?m=1.

So in this post, I am going to show how to solve the m=1 issue in your wordpress blog.

You can solve this problem by installing a redirect Plugin.
But I will show you a simple and step by step process to solve this without adding a plugin.

Here you go…

How to solve m=1 redirect issue in wordpress

Step 1: First of all log in to your Cpanel of your web hosting

And open the file manager

Step 2: Now, find out .Htaccess file in your file manager

( in some web hosting, this file can be hidden so first check to show hidden files )

Mostly it will be inside Public_html >> .htaccess

Step 3: Here click on the edit file,

This will open a window where you will find some text like the image below.

Step 4: Find out the # Begin WordPress

And paste the codes given below

 #fix blogger m=1 issue in wordpress
RewriteEngine On
RewriteCond %{QUERY_STRING} m=1
RewriteRule (.*) /$1? [R=301,NE,L]
#fix blogger m=1 issue in wordpress ends

Step 5:  Now click on the save button.

Here you go, You have successfully redirected m=1 URLs to the appropriate page.

If you also having the same redirect issue in the search console then save the codes and start validation.
This will solve the redirect problem.

In case you have a problem implementing the codes or anything then you can mail me at help@bloggingranger.com or ask me in our Facebook Community.

Some of the links listed above are affiliate links, So in case you make a purchase any product from my link, I will get little commission from the companies but no extra cost to you.

Leave a Comment

Copy link