Fix WordPress m=1 Redirect From Blogger Mobile URL Issue

Starting this year Techgravy blog always got lot of 404 errors shown in Google Webmaster tools with URL end with m=1. Techgravy blog was started in December 2007 under Blogger as and migrated to self-hosted WordPress blog on November 2010, all this error pages happened are due to when i was in blogger,  i used blogger mobile version with name.html?m=1, after migrated from blogger to WordPress are facing WordPress m=1 issues redirecting via the blogger mobile URL or template.

I tried to add some rule in URL parameters and put Disallow /?m=1 option into Robot.txt to prevent Google crawl URL end with ?m=1 from my site but unsuccessful. My webmaster tools displayed more than 50 no found error pages that due to blogger mobile redirection issue.

WordPress m-1 blogger mobile URL redirect


Solve WordPress m=1 Redirect Issue

Now you can fix the WordPress m=1 issue without install any WordPress plugin, simply go to .htaccess file, at right after the RewriteEngine On RewriteBase / line, add in

RewriteCond %{QUERY_STRING} ^m=1$
RewriteRule (.*) $1? [R=permanent]

into the content of your .htaccess and save it. That all.

Fix blogger mobile redirection


Test below link

It now redirect properly.

If you are prefer using WordPress plugin to help you redirect to WordPress via blogger mobile URL and don’t want amend any content in your .htaccess file, Blogger 301 Redirect plugin developed by Sudipto can fix this problem by follow tutorial mentioned.