The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. When Mobile and Desktop sites have the same page URLs, how should I handle the 'View Desktop Site' link on a mobile site to ensure a smooth crawl?

    When Mobile and Desktop sites have the same page URLs, how should I handle the 'View Desktop Site' link on a mobile site to ensure a smooth crawl?

    Intermediate & Advanced SEO
    3 3 1.4k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • merch_zzounds
      merch_zzounds last edited by

      We're about to roll out a mobile site. The mobile and desktop URLs are the same.  User Agent determines whether you see the desktop or mobile version of the site.  At the bottom of the page is a 'View Desktop Site' link that will present the desktop version of the site to mobile user agents when clicked.

      I'm concerned that when the mobile crawler crawls our site it will crawl both our entire mobile site, then click 'View Desktop Site' and crawl our entire desktop site as well.  Since mobile and desktop URLs are the same, the mobile crawler will end up crawling both mobile and desktop versions of each URL.  Any tips on what we can do to make sure the mobile crawler either doesn't access the desktop site, or that we can let it know what is the mobile version of the page?

      We could simply not show the 'View Desktop Site' to the mobile crawler, but I'm interested to hear if others have encountered this issue and have any other recommended ways for handling it.  Thanks!

      1 Reply Last reply Reply Quote 0
      • RyanPurkey
        RyanPurkey last edited by

        When the crawler goes to the desktop site the user agent should change dynamically and it will see that the user agent is set to non-mobile.  Be sure to check it out here: https://www.google.com/webmasters/tools/mobile-friendly/
         while responsive design fundamentals can be found here: https://developers.google.com/web/fundamentals/layouts/rwd-fundamentals/. Cheers!

        1 Reply Last reply Reply Quote 0
        • DirkC
          DirkC last edited by

          Hi,

          Google's advice on this configuration is to use the "Vary HTTP header" to let the Google bot know that the same url is used for mobile/desktop. See also: https://developers.google.com/webmasters/mobile-sites/mobile-seo/configurations/dynamic-serving?hl=en . While Google strongly recommends responsive design - this option is also valid. Matt Cuts says the same in this video: https://www.youtube.com/watch?v=va6qtaiZRHg (it starts with all the caching stuff, the part which might be of interest to you starts at 3:38)

          Hope this clarifies,

          Dirk

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          • Mobile First Index: What Could Happen To Sites w Large Desktop but Small Mobile Sites?
            mirabile
            mirabile
            0
            4
            274

          • When the site's entire URL structure changed, should we update the inbound links built pointing to the old URLs?
            BlueprintMarketing
            BlueprintMarketing
            1
            6
            102

          • Viewing search results for 'We possibly have internal links that link to 404 pages. What is the most efficient way to check our sites internal links?
            andyheath
            andyheath
            0
            3
            160

          • Different URL structure Desktop VS Mobile Regarding SEO when building a new seperate mobile site
            KristinaKledzik
            KristinaKledzik
            0
            4
            637

          • My crawl can't find ANY product pages. The links to product pages aren't links, they're script. :(
            Joe.Robison
            Joe.Robison
            0
            8
            247

          • Do I eventually 301 a page on our site that "expires," to a page that's related, but never expires, just to utilize the inbound link juice?
            Ray-pp
            Ray-pp
            1
            2
            83

          • How does the crawl find duplicate pages that don't exist on the site?
            Deniz
            Deniz
            0
            3
            110

          • It appears that Googlebot Mobile will look for mobile redirects from the desktop site, but still use the SEO from the desktop site.
            BenRWoodard
            BenRWoodard
            0
            3
            414

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy