This article will help our readers to find a best solution and trick to remove m=1 from WordPress URL after migrate from Blogger blog or you are planning to migrate from Blogger to WordPress. Then this article will be great source to find a solution.
After successfully following the Easy steps to remove ?m=1 from WordPress URLs. You enable your blog to redirect ?m=1 to your permalink URL setting. You by yourself Fix ?m=1 Error in your WordPress website.
Today I am sharing with you the simple solution to the 404 page not found error due to the “?m=1” prefix. You can fix this error by following Easy steps to remove ?m=1 from WordPress URLs with simple code.
you may also like to read Best Trick for Blogger Custom Domain Error.
Best Trick to remove m=1 from WordPress URL after migrate from Blogger
Here we discuss how to remove m=1 from WordPress URL after migrate from Blogger with easy steps. ?m=1 is a prefix that occurred cause after the migration of your website from Blogger to WordPress. Due to migration from Blogger to WordPress, we need to redirect our previous URL format to the new URL format to save ourselves from 404 pages.
We should know this, we can not control the ?m=1 in blogger. only we can hide it from the URL. So It is not created by us. It is generated by default by the Blogger functionality for the mobile version. Due to this when people share our article URL over other sites. ?m=1 prefix is also copied in URL by default at the end of each URL eg.
https://www.yoursite.com/?m=1
3 Easy Steps to remove m=1 from WordPress URL:
Here you will find 3 easy steps to remove m=1 from WordPress URL: which occurred due to migrate from blogger to wordpress. To understand why this m-1 error occurred, you need to understand process of url transfer rule.
When you migrate your website. It only convert the parmalink structure as you choose from WordPress settings. The post url can be turn “socialstatusdp.com/2023/02/happy-diwali-wishes.html” to only “socialstatusdp.com/happy-diwali-wishes” not the ?m=1 prefix because its auto generated prefix that uses for mobile view in blogger.
So fix it, you need to make redirection for the Blogger ?m=1 prefix too. you can fix this problem by adding a simple and easy code to your .htaccess file to perform auto redirection to remove m=1 blogger URL error from your WordPress post url / your website permalink eg.
https://socialstatusdp.com/sample-post/

You need to implement this code manually to fix ?m=1 error in your WordPress Blog.
Step 1: Go to your Hosting site > File Manager > Public_html > find .htaccess file.
Before editing the .htaccess file. you must download a copy of it. or copy its code in a notepad file for any error after code implementation.
Step 2: Click the file icon to open it > find the “RewriteEngine on” in the file.
Step 3: Now just below any other “RewriteRule” line you need to paste the below-given code.
RewriteCond %{QUERY_STRING} ^m=1$
RewriteRule ^(.*)$ /$1? [R=301,L]
Now you successfully redirected or remove ?m=1 to your standard URL.
You can check it by adding ?m=1 to any URL of your blog and it will automatically remove from the URL. you will not see 404 pages for ?m=1 error.
Hope you found this article helpful and found the solution you were looking for. You can share your valuable feedback in the comment section by writing “This article helped”. Your kind feedback will motivate me to write more articles. You can also ask me questions related to any other topic. I’ll try to post an article on that topic.
Thanks for visiting Bloggerlly.com. Stay Safe and Happy.