How to Fix the ?m=1 URL Issues After Migrating

Welcome to technohadayt website migration page and you will learn about How to Fix the ?m=1 Issues After Migrating Blogger to WordPress with Complete Guide for Beginners.

How to Fix the ?m=1 URL Issues After Migrating and ?m=1 and When you migrate or move your blog from Blogger to WordPress, do you report crawl errors from the Google Search Console like Some 404 (not found) errors? These errors will be seen with URLs ending with m = 1 or ?m=1.

You redirect all the URLs by using the WordPress plugin Blogger to WordPress and all desktop URLs are redirected but mobile URLs remained redirected and provide the error. To meet and redirect these URLs, we will edit the .htaccess file in WordPress. Get the WordPress guide here.

How to Fix the ?m=1 URL Issues After Migrating to WordPress

Google console is providing a tool known as the Legacy and reports tool. When you got the ?m=1 URL, it means that Google provides desktop users and mobile users with different 2 URLs but the content is the same. Later, google insert this error to duplicate content pages and you have to fix them. For these pages, google says to tell us about your pages and help us to index the way.

How to Fix the ?m=1 URL Issues After Migrating
How to Fix the ?m=1 URL Issues After Migrating

There you have to inform google that ?m=1 is the same address, not a duplicate and another page. You have to use the Legacy tool in google console and select m and not disturb the content of the pages and set ok.

Also, bad things happened among developers that may be removed from the site. But it is not possible to remove it, you do so, your SEO and ranking will disturb and may be facing a lot of problems. Do the same things which google tells you to do. Next, do these settings in blogger and avoid these things on blogger and at the time of shifting or migrating to WordPress. 

WordPress is a big world of plugins, you think in your mind to do a thing, you will see a plugin available for this. We also have a plugin to m-1 issues after migrating into WordPressbut this problem will consist till you don’t update the .htaccess file. This file controls all your site pages and posts, so if anything happened wrong with your pages like the ?m=1 URL, then you will update this file and we recommend updating the file and not using the plugin.

What is a .htaccess File?       

This is a very important file in your control room that contains the information of your control room and the rules of communicating with WordPress to the server. The purpose of the .htaccess file in WordPress is to control your site’s pages and posts which do perform better for search engines and security purposes. 

This folder can be placed in any folder on the website to change its behaviour. Remember, A single misplaced dot (.) can bring down your website. Kindly take a backup first before making changes in the file to your cloud drivewhich means other than your server.

How to edit .htaccess file in WordPress?

There is a code is given below to edit in the .htaccess file to remove these ?m=1 and 404 and 301 errors of mobile URLs. You have to just copy this code and past it to the file and your redirection of mobile pages and posts will start to work. You have to edit the .htaccess file in WordPress. For this purpose, you have to go to the WordPress root directory.

This can be done using the file manager provided by your WordPress hosting provider or through an FTP client such as FileZilla. Log in to your web hosting account, go to the ‘Public_HTML’ folder and find the .htaccess file in the WordPress installation root directory.

This doesn’t need any plugin to edit. You have to go simply to your blog .htaccess file and found there the “RewriteEngine On RewriteBase / line” and add the below-given code just below it and save it.

RewriteCond %{QUERY_STRING} ^m=1$

RewriteRule ^(.*)$ /$1? [R=301,L]

When it comes to server configuration, the WordPress .htaccess file is one of the most important files on your server. It is often used to configure your web server and secure different areas of your website. Kindly leave a comment if you like this post. 

You May Also Join Us On:

  • You can Join Our Facebook Page for Daily Updates:
  • Follow Us on Google News to get Daily Updates:
  • Follow Us on Instagram for daily Updates:
  • Follow Us on Pinterest to get daily Updates:
  • Join Us on Twitter to get daily Updates:

You may also like:

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button