Blogger to WordPress Migration: Fix ?m=1 Blogger Mobile URL Error

Recently, I moved this blog from Blogger to WordPress. The migration was successful and I even shared the steps I went through with the migration from blogger to wordpress. After the whole process, I checked everything and they were in order, but I didn’t notice one thing, it was Google Webmaster tool that reminded me.

webmaster tools error

I checked my mail one faithful morning after the migration and saw a message from Google Webmaster tools that I had an increase in not followed pages. Immediately, I went to my Google webmaster tools page and saw over 300 errors. The cause of all these errors was the ?m=1 that is placed at the end of my blog mobile version when I was on blogger. So whenever readers and bots access my site with any valid link that ends with ?m=1, they are redirected to a 404 error page.

When I told a friend about the problem, he said I should redirect the pages that ends with ?m=1 one after the other. I told him it isn’t easy to redirect over 500 links. His response was – just do it! I laughed at him because I was able to fix it with a code that is not up to two lines. Fixing that wasn’t difficult at all. All I did to redirect visitors to the correct page and tell search engines bots to crawl the correct URLs was by placing a rewrite rule in my .htaccess. Although after the migration, I once disallowed bots from crawling URL s that end with ?m=1, but Google  webmaster tools still show errors.

Solve Blogger to WordPress ?m=1 Redirect Issue

This doesn’t require any plugin. Simply go to your blog .htaccess (hypertext access) file, after the RewriteEngine On RewriteBase / line, add the code below into it and don’t forget to save it.

RewriteEngine On
RewriteCond %{QUERY_STRING} ^m=1$
RewriteRule ^(.*)$ /$1? [R=301,L]

Try to Visit:

If you follow the process correctly, everything should be working fine by now.

Over 50,000 + Readers

Get fresh content from JustNaira


  1. Chuks
  2. Pierre
  3. Daniel
  4. lautechgossip
  5. alexanderf

Leave a Reply