Google search results mobile adding ?m=1 to end of site address

Google search results mobile adding ?m=1 to end of site address - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about google-search, , , to guide you along the way. Read the discuss below, we share some tips to fix the issue about Google search results mobile adding ?m=1 to end of site address.Problem :


I recently helped a friend migrate from Blogger to Wordpress. Everything is working great, and everything seems to be propagated. Google search results are already displaying the new site information, but I've run into a small problem.



When I search for her site on google from my desktop, results are fine. However, when I search on a mobile device, the search results appear to be okay but when you actually click the link it adds ?m=1 to the end of the site address, causing the link not to work.



I think ?m=1 was a Blogger thing - so I'm not sure why it is still doing this when nameservers are updated, and Google obviously reindexed the site.



My question is this - is there something I can do to prevent this from being added to the end of the site address for Google search results? Or do we just have to wait for Google indexing/crawling to take care of that?


Solution :

What you can do is create a redirection either through a webserver configuration file (such as adding rewriterules with a R=301 flag in apache's .htaccess) or modify the section(s) of your script that is handling the m=1 parameter so that it redirects to the valid site without the m=1.



When you are done the changes, update at least the sitemaps containing the affected URL's and re-upload them to your google webmaster tools account so google knows to try to index the new pages.



To do it the script way, add this in PHP:



header("HTTP/1.1 301 Redirect",true);
header("Location: http://example.com/path/to/mobile/page",true);


But of course, change the actual location to reflect the real page without the m parameter.



Let me know your progress and I can update you with a better answer if needed.


If the issue about google-search, , , is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Years after news site changed name, Google is appending the old name to search titles and news stories

Is it possible to outrank Google for a search term on their own search engine?

Load Wikipedia sourced biographies via Ajax or render it with the rest of the page as part of the initial request?