When you move your blog from Blogger to WordPress, you might have noticed some 404 (Not Found) errors with URLs that end with ?m=1 in Crawl Errors report of Google Search Console. The ?m=1 query string is added by Blogger for mobile devices, it is not needed in WordPress and should be removed to prevent the 404 (Not Found) errors.
To fix this issue in Apache server, simply add the following snippet to the .htaccess file located in your site's root directory:
# Fix the ?m=1 URL Issue <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} ^m=1$ RewriteRule ^(.*)$ /$1? [R=301,L] </IfModule>
You can place the snippet at the top of the .htaccess file.