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
-
Duda Mobile no_redirect=true
Hi Guys, Just need some clarification if it's okay. I have a client who has the dudamobile software installed for a mobile friendly version of the site.Now I know that it put's on some JS to check if the user is visiting from a desktop or a mobile and then redirects. ?no_redirect=true https://moz.com/community/q/duplicate-content-resulting-from-js-redirect This is creating duplicate page issues when I run a deepcrawl of the site. I understand I can just exclude the URL's in Google's Search Console but I just wanted to double check though that this won't stop Google from indexing the mobile site? Sorry if it's a stupid question Kind Regards Neil
Technical SEO | | nezona1 -
New site - http or https?
Hi. We are currently in the process of creating a new website. We will be using our old domain name. However, the current website is currently live on both http and https protocols, with no re-directs in place. When we launch the new website, we would like to redirect everything to one or the other. Would the preference be to use https as the preferred protocol?
Technical SEO | | Lexica0 -
Site structure headache
Hello all, I'm struggling to get to grips with a websites site structure. I appreciate that quality content is key etc, and the more content the better, but then I have issues with regards to doorway pages. For example im now starting to develop a lot of ecommerce websites and want to promote this service. should we have pages that detail all of the ins and outs of ecommerce - or should we simplify it to a couple of pages. what is best practice? Also isn't a content hub similar to having doorway pages? let me know what you think! William
Technical SEO | | wseabrook0 -
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 -
How to handle a merge with another site
I own a gaming site at legendzelda.net Recently a site zelda-temple.net wanted to merge communities and sites. We pretty much scrapped their content (a lot was articles I already had topics on), merged the user databases, and redirected the domain to mine. What is the best seo way to redirect that domain. I tried to set up a 301 on the entire domain to gain all the backlinks that site had (A LOT) but it seems as if a lot are not being picked up by the open site explorer and other tools. Advice?
Technical SEO | | webfeatseo0 -
Should I create mini-sites with keyword rich domain names pointing to my main site?
Hi, I'm new to seomoz (and seo in general) and loving it so far. My main domain name is more of a brandname than a search engine friendly list of keywords. I rank well for some keywords I optimized for, and less so for the more competitive keywords. I was wondering if making one page minisites hosted on keyword rich domain names could help in this respect? What I want to do is just have a single page with a few paragraphs of content and links to the main site. I am not looking for links to boost the main site, just for the minisites to do better for several keywords. Will this help? Is this ok, or against some Google policy? Can this hurt the main site rankings? Thank you! **Edit: **I noticed that sites ranking above me on the first page for some keywords have much less on-page elements than my page, have about the same domain trust and also very little inbound links. The only factor I can see is the exact match of keywords in the domain name.
Technical SEO | | Eladla1 -
How do I set up a site review for a password protected site?
We need to conduct a SEO analysis for a website that is on a private, password protected development site -- is there anyway for SEOMoz tools to access and analyze a PW protected site? Thank you, Sara Merten
Technical SEO | | kev110