How do you check mobile-friendliness when you have a separate mobile site?
-
One of our clients has a separate mobile site, and we've setup the rel="alternate" on the main site homepage, but https://www.google.com/webmasters/tools/mobile-friendly/ still fails the site (it checks the main site, instead of the mobile site) when we put in the main site URL. Is there any way to check that we've got everything setup correctly? (We have a lot of experience with mobile responsive sites, but not so much with separate URLs.)
-
Great - glad it was sorted out!
-Dan
-
Got this issue fixed. The issue was that robots.txt was blocking the Javascript file that does the redirect, so Google couldn't see the redirect.
-
Hi Adam
I have not personally used one, but this particular search looks like it uncovers some that are available. "Simple Mobile Redirect" has the best reviews. Also, this is a good general guide from Google on user agent detection / HTTP redirects.
-
To handle the redirect to the mobile site. Sounds like the JavaScript this client had in place isn't working correctly.
-
Hi Adam
What are you looking for a WP plugin to do specifically?
-
Adam,
Did the same check with Firefox (with a Mobile user agent) & still get the desktop version. Don't think the problem is with the redirect but with the detection.
I guess if you search for User Agent sniffer Wordpress you should be able to find some tools. Afraid I can't help you with that (this is the point where I handle it over to the technical department myself...)
Dirk
-
You would get a 200 response...the redirect is JavaScript, not server side. Maybe we should change that? Do you have a WP plugin you recommend?
-
^ Adam, there you go! Great job, Dirk!
-
The redirect was setup by a previous vendor, but I've not noticed any issues with them.
-
I just tested the url on web-sniffer.net with mobile user agent - it seems that the tool you use to detect if the user agent is a mobile one doesn't work. I get a normal 200 status (from the desktop site) - idem like Patrick
rgds,
Dirk
-
Hi Adam
Are you sure your redirects are set up properly? I tested this on my phone and it seemed a little wonky. Are those put in place correctly?
-
Thanks. The Google doc is what we were using as our guide to set up the code on the homepage. So you're saying that the main site homepage should pass the mobile friendly test tool if we have it set up right? URL is arcticair4me.com
-
NM the URL is arcticair4me.com
-
Yeh, that's the doc we followed in setting up the code on the homepage. I'll PM you the URL.
-
The normal way to check is like you did - if it fails it implies something is wrong with the way you set it up. Check the link in Patrick's answer - the doc of Google is quite detailed how to set it up properly.
rgds
Dirk
-
Hi there
Do you have an example URL we can check? Did you only do this on the homepage and no other internal pages?
Also, did you set up your redirects properly? Check out this resource from Google.
I would read that through that and make sure your code lines up correctly.
Let me know - would love to help! Good luck!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Site Not Being Indexed
Hey Everyone - I have a site that is being treated strangely by google (at least strange to me) The site has 24 pages in the sitemap - submitted to WMT'S over 30 days ago I've manually triggered google to crawl the homepage and all connecting links as well and submitted a couple individually. Google has been parked the indexing at 14 of the 24 pages. None of the unindexed URL's have Noindex or follow tags on them - they are clearly and easily linked to from other places on the site. The site is a brand new domain, has no manual penalty history and in my research has no reason to be considered spammy. 100% unique handwritten content I cannot figure out why google isn't indexing these pages. Has anyone encountered this before? Know any solutions? Thanks in advance.
Technical SEO | | CRO_first0 -
Why does my mobile site have a "?mobiRedirect=1" string at the end of the URL?
Hello, When trying to access my site from a smart-phone, I'm getting a redirected to the mobile version (which is correct), however at the end of the URL there is a redirect string that shows every time. I'm not sure why its its showing or how it automatically gets appended to the end of the URL each time. How can I configure my mobile site to prevent the ?mobiRedirect=1" from showing? For example, if you search for "Columbus Regional Health" on Google with a smart-phone, the first result should be for www.crh.org. If you click that, you should get redirected to www.crh.org/mobile , however its displaying the URL as http://www.crh.org/mobile/default.aspx?mobiRedirect=1 Does anyone know how to fix this? Thank you,
Technical SEO | | Liamis
Brian0 -
Shutting down a site, where do I 301 it?
I'm working with a few international sites that we are going to collapse into one main site. Our current plan is to 301 the 4 other sites into our main site home page. Is this ok? Is there a better way to do this? Thanks
Technical SEO | | MarloSchneider0 -
See your sites Architecture
Does anybody know a problem where you can see how your internal linkings look to the search engines?
Technical SEO | | ScottBaxterWW0 -
Will training videos available on the "members only" section of a site contribute to the sites ranking?
Hello, I got asked a question recently as to whether training videos on the deeper pages of a website (that you can only access if you are a member and log in) will help with the sites ranking. On the SEOMoz software these deeper pages have been crawled as far as I can tell with errors reported on pages from the "members only" section of the site, leading me to believe the members only pages and their content will contribute to the sites overall ranking profile. I have suggested uploading the informational videos on the main pages of the site for now, making them accessible to all visitors and putting them in a more obvious place to encourage more sharing and views, however I've also said I would check it out with some experts so any information will be greatly appreciated! Many thanks 🙂 Charlotte
Technical SEO | | CharlotteWaller0 -
Pros & Cons of deindexing a site prior to launch of a new site on the same domain.
If you were launching a new website to completely replace an older existing site on the same domain, would there be any value in temporarily deindexing the old site prior to launching the new site? Both have roughly 3000 pages, will launch on the same domain but have a completely new url structure and much better optimized for the web. Many high ranking pages will be redirected with 301 to the corresponding new page. I believe the hypothesis is this would eliminate a mix of old & new pages from sharing space in the serps and the crawlers are more likely to index more of the new site initially. I don't believe this is a great strategy, on the other hand I see some merit to the arguments for it.
Technical SEO | | medtouch0 -
Google not visiting my site
Hi my site www.in2town.co.uk which is a lifestyle magazine has gone under a major refit. I am still working on it but it should be ready by the end of this week or sooner but one problem i have is, google is not visiting the site. I took a huge gamble to redo the site, even though before the refit i was getting a few thousand visitors a day, i wanted to make the site better as i was getting google webmaster errors. But now it seems google is not visiting the site. for example i am using sh404sef and i have put friendly url in the site and on the home page it has its name and meta tag but when you look at google it is not giving the site a name. Also it has not visited the site since october 13th Can anyone advise how to encourage google to visit the site please.
Technical SEO | | ClaireH-1848860 -
Traffic has dropped from my site.
Hello, I never had amazing traffic, but during the last week my site seems to have almost dropped of search engines. Nothing drastic has changed during this time that I can see would have caused this. The site is http://www.comparebestodds.com Does any one have any ideas that can help? Thanks
Technical SEO | | jwdesign0