What's the best way to redirect mobile site?
-
Hi,
We have a mobile website using a sub-directory domain.com/m/whatever-page/. Our mobile is completely separate site from desktop version.
What's the best way to handle the redirection from mobile visitors and those that are searching from mobile and see desktop version in the search result?
Appreciate anyone's expert advise.
Thanks,
Willy -
I've responded to specific comments below, but here's the information you need to redirect: https://developers.google.com/webmasters/smartphone-sites/details
The gist is, you need:
- 301 or 302 redirects from the desktop site to the mobile site, based on user agent detection
- Rel="canonical" tag on each mobile page pointing to to each desktop page
- Rel="alternate" tag on each desktop page pointing to each mobile page
- A Vary HTTP header
- A mobile sitemap
As I mentioned below, I also recommend that you have a link at the bottom of the mobile and desktop sites pointing to the other version. That way, if you get the redirects wrong, people can self correct.
-
I disagree with Lesley, saying that you should just ask. I would recommend that you redirect to the mobile version of the the site, then ask. Basically: get people onto the page that you're 90% sure they want to be on, but let them switch back and forth. Just add a link to the footer of the deskop and mobile sites letting people switch between the two.
He's correct about redirecting to the right page, though. Don't redirect all of your desktop pages to the mobile homepage. When Google ranks your desktop pages on mobile search results, it checks out the redirect to mobile content. If the mobile content isn't similar, the page won't rank in mobile.
-
The best way to handle redirects is to use a 301 or 302 redirect (this is probably the only time in SEO that either gives the same result) based on user agent detection.
Is that enough detail?
-
Just to add to our original question. It seems pretty clear that device detection is accomplished by user agent detection. Under our original plan to redirect visitors on mobiles to a new URL which carries the mobile version of the page, how should that redirection be accomplished in a search engine compatible fashion? What type of redirection should be used?
I suspect we'll need to continue with our plan to redirect to a different URL for now, but am concerned that this needs to happen in a way which won't harm our SEO.
many thanks in advance for any help with this ....
-
Thanks Leslie, interesting and useful considerations.
-
The best way is to ask. With the ever changing landscape of devices, automatically redirecting is falling out of favor. I would use a cookied little bar at the bottom of the page that asks if they want to view the mobile site. Let them select or close it and have it expire after the session.
One thing to keep in mind, google wants you to redirect to the same mobile page. Like if a user is on site.com/products/nifty-hair-gizmo.html don't redirect them to m.site.com, redirect them to m.site.com/products/nifty-hair-gizmo.html
The reason that automatically redirecting is falling out is because of devices like the new chrome cast and how other phones are set up. I might browse to your site on my phone and be casting it to my 46" lcd and you would never know. But I am going to be irritated if I have to look at your site in a mobile version on my tv.
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
-
Viewing search results for 'When searching in google we find our site in the first position but when some others search it is seen on the second page 1 st position why is this happening?'
Viewing search results for 'When searching in google we find our site in the first position but when some others search it is seen on the second page 1 st position why is this happening?'
Search Behavior | | Alyaauditors0 -
With MFI, should we delete our mobile version of our site?
I'll start by stating that a brand new responsive site is under development and will be launching early 2019. Until then, with Mobile First Indexing, we're curious if we should remove our mobile site altogether. Looking at Google guidelines, it looks like we have Dynamic serving content, so when a mobile device is used, a VERY TRIMMED down version of our site content is presented. I read that if a mobile version doesn't exist, google will use the MFI indexing on the desktop version still, since that is what is rendered on a mobile device. If Google starts using our mobile site for its indexing, we're not going to be looking good. At this point, are there negative affects to removing our mobile site and having the desktop version render on all devices?
Search Behavior | | Technical_Contact0 -
Best Way To Estimate Size Of Customer Base?
Hi. Just wondering what you all thought would be the best way to estimate a customer base for a certain niche? I'd be willing to pay for this service, if there are companies who do this sort of thing. But I'm assuming I'll be able to do it for free... How much weight should I putting into facebook ad data? Any advice?
Search Behavior | | PedroAndJobu0 -
GWMT - "Tag Site For Child Directed Treatment" Effect On Search / Rankings?
Hi All, We have a client who has been directed to tag their site for "Child Directed Treatment" in Webmaster tools to comply with AdExchange policies. The site is, generally speaking, directed at those between the ages of 13 and 16 along with their parents, but does NOT collect any data (No sign in, login, signups etc). You can find out more about the specific tag here (unfortunately not much more about it) https://support.google.com/webmasters/answer/3221080?hl=en Our concern is that we have never heard of this specific tag, and our client is asking us to let them know if that this will have no effect on search traffic or ranking. I can't find much in the way of anyone who HAS implemented this tag and the effects it has had on their site. They are ad supported, receive millions of unique hits a month, and the majority of their traffic is from branded keywords. Would love to hear from anyone with ANY experience or thoughts on this process and what to be aware of. Your assistance is muchly appreciated.
Search Behavior | | SearchMarketers0 -
Blog posts not getting indexed and being outranked by scrapper sites.
Our Google traffic has dropped significantly over the last year and now we're struggling to even get our blog posts indexed. It's been extremely discouraging and we're trying to do what ever we can to fix it. I've included a screenshot of our Google traffic as well as Pages Indexed according to WebmasterTools. http://i.imgur.com/Wu1D8.jpg The Problem Our blog posts are frequently not getting indexed. Many times they are outranked by low authority scraper sites, our Twitter/FB account, etc. Sometimes our homepage will rank instead of the blog post. Sometimes we'll break a news story, get tons of quality backlinks, and still be nowhere in Google. Pretty much the only Google traffic we see is from existing posts. Still 3,200 pages indexed when we have only 1,600 posts. I guess this isn't really a problem... just waiting for the meta noindex to take effect. More details We've seen no duplicate content or other warnings from WebmasterTools. We've been constantly acquiring quality backlinks from credible sites. We deleted the useless content and fixed the canonical issues that were a result of switching servers. History Our site is a news/entertainment blog. The traffic usually has spikes depending on what's going on in the news. Nov 1, 2011 - Site kept maxing out at 30k+ visits so we switched servers. Jan 30, 2012 - Hired a writer so we could focus on other aspects of the site. Apr 19, 2012 - Noticed our posts weren't getting indexed like they used to. Suspected our writer was spinning articles but couldn't find any evidence. 90% of our blog posts were nowhere to be found in Google. Scrapper sites would outrank us for our own stories... even our Twitter account was ranking ahead of us. IF our story would show up in Google it would usually be the home page instead of the blog post. Sep 2012 - Finally got more serious about addressing the problem. Noticed a couple potentially big problems and started making changes. Canonical Issues non-www site didn't redirect to www. It showed 2 different link profiles according to OpenSiteExplorer and 0 backlinks according to Webmaster Tools. Wordpress shortlinks weren't redirecting to the actual permalink. For instance http://www.domain.com/?p=123 and http://www.domain.com/post-example were both getting indexed. For every post there were 4 different versions that Google had to choose from. http://domain.com/?p=123, http://www.domain.com/?p=123, http://domain.com/post-example, and http://www.domain.com/post-example I figured the canonical issues must have happened when we switched servers which was the reason for the drop in WebmasterTools indexed pages and increase in Not Selected pages. FIXED (Sep 15): One we fixed the canonical issue the Indexed Pages went back up however the Not Selected is still the same. Duplicate Content When we first created our site we wanted to have tons of images for each musician/athlete/actor/etc. so we uploaded about 5-10 for each person. We created a blog post for each image with no writing and the exact same post titles. As a result there were TONS of low-quality, similar posts, with virtually identical permalinks. e.g. http://www.domain.com/james-smith1, http://www.domain.com/james-smith2, http://www.domain.com/james-smith3, etc. A crawl on Sep 26 showed over 550 duplicate content warnings. FIXED (Oct 1): We deleted/301 redirected the useless pages (they weren't getting traffic anyways) and by the next crawl the number was almost to 0... which it's at now. We also had TONS of tags (since there're constantly new names in the media) that were getting indexed so we had meta robots noindex them. Questions: Why aren't a majority of our posts getting indexed? Were we penalized or just stuck because of a filter? How long should it take for meta robots to noindex the tags pages? (I did it on Sep 25 but they are still there) If a site is scraping our content (same title, image, excert) but linking to us, should we contact them and tell them to remove it? Is there anything else we need to do start getting our blog posts indexed like they used to? Should we try contacting Google to re-evaluate our site? Sorry, that was a LOT of writing. If anyone wants the URL please let me know so I can PM it to you. Any help would be greatly appreciated! Wu1D8.jpg
Search Behavior | | gfreeman230 -
E-commerce SEO when products are shared between sites
We have a couple of e-commerce sites that sell the same product. One focuses more on a niche category of the products, while the others contains a wide variety of products. Will we be hit with a penalty from google if the product descriptions are the same? If so, how much of a difference in content does there need to be? There are only so many ways to describe the product and it is usually done in a couple sentences. The rest of the product description contains bullet points of the products and is the same for each product. We are also looking for a SEO company to work with and wondered if there are companies out there that specialize in e-commerce seo that can work with a small ($500 month) budget. I've looked through the recommended companies directory here, but it seems most have minimum retainers around $1000 a month. Also, what should I look for in an SEO company?
Search Behavior | | toomeycustoms0 -
Problems with my bounce rate for my site
Hi on my site Weight Loss Hypnotherapy site i have a bonce rate off 55.1 where up to now 60 people have stayed on the site for less than one sec and i would like to know how to combat this and how to keep people on the site for longer. I have tried playing around with the content but i am thinking about adding images to make the page look better but would like the advice from others. many thanks for your help.
Search Behavior | | ClaireH-1848860 -
Changing Site Structure Drastically
Howdy Guys, We are in the process of changing our sites structure dramatically, at the moment this is how an internal page / URL reads: Www.mydomainname.co.uk/ww.sys/pagename We will he changing our site over to wordpress very shortly and will have the correct permalinks in place. We are scared it's going to hurt our rankings as we are in the top 6 for a highly competitive keyword at the moment - the bouns is our domain name is 11yrs old and we have a PR of 4. We have setup all the 301s in web.configuration file just wondering if any of you have made a dramatic change like this and been dropped off the rankings.....
Search Behavior | | ScottBaxterWW0