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:
You can place the snippet at the top of the .htaccess file.
If you are using Yoast plugin for seo, you can find .htaccess in Yoast > Tools > File Editor