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!
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
-
301'd site, but new site is not getting picked up in google.
Hi I'm having big issues! Any help would be greatly appreciated This is the 3rd time this happened. Every time I switch my old site greatcleanjokes.com to the new design of chokeonajoke.com traffic goes almost completely down (I even tried out the new design on greatcleanjokes [to see if it was a 301 issue] and traffic also went down.) What can possibly be wrong with this new site that google just doesn't like it ?! I was ranking high up for many big phrase like joke of the day, corny jokes, clean jokes, short jokes. Now It's all gone. I also think it's strange that when I search for site:chokeonajoke.com the post pages show up before the category pages!? Here is the old site http://web.archive.org/web/20140406214615/http://www.greatcleanjokes.com/ Here is the new one http://chokeonajoke.com/ If you can't figure out anything do you know of anyone I can hire who may be able to figure it out?
Technical SEO | | Nickys22111 -
How About Moving My Site to Another Domain?
My website has been hit by a Google Penguin penalty. At this point, it seems very few websites have recovered from this penalty even after it was lifted. That said, I'm still wondering if I should start a new website or my current one to another domain. When I started my website, I registered the domain name http://www.thewebhostinghero.com A few years later, I bought webhostinghero.com as it became available. Actually, webhostinghero.com redirects traffic to thewebhostinghero.com at the registrar level. There are barely any links pointing to webhostinghero.com. TheWebHostingHero.com is quite a big website with over 1400 pages and some very useful tools (http://www.thewebhostinghero.com/free-tools) that took me so long to develop, I just can't believe I'd have to throw it all out the window. So that said, do you think it would be possible to move all or some of the content from thewebhostinghero.com to webhostinghero.com? Would that make sense? Would webhostinghero.com come out as a copy of thewebhostinghero.com since the domain is similar, etc.? Of course, moving the content from thewebhostinghero.com to webhostinghero.com would have to be done without any 301/302 redirects to avoid passing bad link juice. At the same time, I don't want to end up with duplicate content on both domains.
Technical SEO | | sbrault740 -
Way to spider Wordpress site
I have an old Wordpress site and I want to move it to a new server and take it off Wordpress (too many hacks). I am trying to spider the site so as to get static, non-Wordpress, pages. I am having trouble doing this. When I spider the site, it changes the URLs. For instance, if the URL is www.domain.com/page/ the URL I get out of the spider is /page/index.html And those are not the URLs in the search engine indices. There are about 2000 pages on this site, so it is not feasible to set up 301 redirects. I tried using these spidering programs: WinHTTack Website Copier and PageNest Does anyone know of another method of turning a Wordpress site into a non Wordpress site?
Technical SEO | | DanCrean0 -
Moving Old Site to New
Dear SEO Gurus, I have been working on #2 site for a couple of months and I think it is a good idea to redirect #1 (old site) to #2 (new site) below, yes? What is the most effective way of doing this? Do I have to 301 Redirect one page from the old site to a relevant page on the new site and do this for every page.... or can I do a 301 redirect for the whole old site to the new site? Thank you for your time in advance for helping me out! Sheryl | | 1 | Gazpachos - Restaurnte Y CantinaExplore http://www.gazpachorestaurant.com/ |
Technical SEO | | TOMMarketingLtd.
| 2 | Gazpacho's RestaurantExplore http://www.restaurantsdurango.com/ | Page Authority | Page Linking Root Domains | Domain Authority | Root Domain Linking Root Domains |
| 42 | Check_big_gray 36 | 30 | 37 |
| 21 | 1 | 6 | 1 |0 -
Removing links from another site
Hello, Some site that I have never been able to access as it is always down has over 3,000 links to my website. They disappeared the other week and our search queries dramatically improved but now they are back again in Google Webmaster and we have dropped again.I have contacted the site owner and got no response and I have also put in a removal form (though I am not sure this fits for that) and asked Google to remove as they have been duplicating our content also. It was in my pending section but has now disappeared.This links are really damaging our search and the site isnt even there. Do I have to list all 3,000 links in the link removal to Google or is there another way I can go about telling them the issue.Appreciate any help on this
Technical SEO | | luwhosjack0 -
How is this site doing this?
http://www.meccabingo.com It shows a splash / promotion page yet you check the cache and it's the real homepage, they are doing this so they don't lose rankings but how are they redirecting users to that but Google is caching the real homepage? is it friendly? thanks!!
Technical SEO | | AdiRste0 -
What do the mozzers think about this site of mine?
Hello SEO MOzzers, I am today wanting your feedback on a site that I recently went live with. My Google rankings for the main keywords are doing very well considering the site has been live for 3 weeks now. I of course have a list of items that i'm still working on, completing meta description tags, title tags, adding copy content to category pages, updating h1 tags, working on our backlinking campaign, etc. The site is www.profitness-supplies.com Let me know what you think Mozzers
Technical SEO | | seohive-2227200 -
Will rankings for my micro site rank better if I 301 redirect it to my main site?
This is my first time asking so I will try to be as clear as possible. Ok, I have a micro site that is an (exact match domain) and the domain is a couple 3-4 years old and ranks very well for several search terms. The main two terms it ranks for are like this. houses for rent in XXXXX XXXXX homes for rent (XXXXX equals a city name) The issue is this site has no backlinks, zero advanced SEO, I only did basic optimization to it when i set the site up. Even site structure, url structure all are not good.
Technical SEO | | Robbie8299
The only page I have ever even seen rank is the main root url. But with all that the site does really good in the top 1-2 results for key search terms. Now, I have a main site that is a very big site that has steadily been climbing in search terms every month with great backlinks, optimized for the city and all.
It currently ranks on second page for the listed search terms listed above. What I want to do is 301 redirect this microsite to my city page on my main site that is much better optimized for the key city terms.
The 301 redirect would point this "root domain" (mymicrosite.com) to my city page that looks like this. www.mymaindomain.com/city/XXXXXXX If I do this will Google rank my main URL city page as well as it ranks this microsite with zero links, seo, etc, etc. What happens if it does not? Will I be able to turn off the 301 redirect and keep the microsite rankings? My main reason for wanting this is I want this city page to rank well and I only want to optimize one site instead of both. Any help would be great!0