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. Technical SEO Issues
    4. Google's ability to crawl AJAX rendered content

    Google's ability to crawl AJAX rendered content

    Technical SEO Issues
    4 2 191
    • 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.
    • znotes
      znotes last edited by

      I would like to make a change to the way our main navigation is currently rendered on our e-commerce site. Currently, all of the content that appears when you click a navigation category is rendering on page load. This is currently a large portion of every page visit’s bandwidth and even the images are downloaded even if a user doesn’t choose to use the navigation.

      I’d like to change it so the content appears and is downloaded only IF the user clicks on it, I'm planning on using AJAX.  As that is the case it wouldn’t not be automatically on the site(which may or may not mean Google would crawl it). As we already provide a sitemap.xml for Google I want to make sure this change would not adversely affect our SEO.

      As of October this year the Webmaster AJAX crawling doc. suggestions has been depreciated. While the new version does say that its crawlers are smart enough to render AJAX content, something I've tested, I'm not sure if that only applies to content injected on page load as opposed to in click like I'm planning to do.

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

        check out https://developers.google.com/webmasters/ajax-crawling/docs/learn-more#current-practice

        Essentially, you should have the AJAX load "onclick" but have the "href" link to the hardlink for people who don't have JS enabled (and crawlers).

        znotes 1 Reply Last reply Reply Quote 1
        • znotes
          znotes @OlegKorneitchouk last edited by

          Thanks Oleg,

          The link you sent for the webmaster page had been deprecated since Oct 2015, does your recommendation still hold?

          OlegKorneitchouk 1 Reply Last reply Reply Quote 0
          • OlegKorneitchouk
            OlegKorneitchouk @znotes last edited by

            Google's official recommendation is just to unblock js/css and let it figure it out since it's smart enough now. I personally like to give as many suggestions/clues to follow as possible so that it doesn't get confused.

            IMO, the onclick/href hybrid is probably the best for user experience. With proper canonicals set up (so that Google only indexes 1 version and avoids any duplicates), it's also my suggested method for SEO.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • How to use Google search console's 'Name change' tool?
              cmscss
              cmscss
              0
              4
              67

            • Why is Google's cache preview showing different version of webpage (i.e. not displaying content)
              customerparadigm.com
              customerparadigm.com
              0
              2
              1.9k

            • When do you use 'Fetch as a Google'' on Google Webmaster?
              MagicDude4Eva
              MagicDude4Eva
              1
              13
              7.5k

            • Has Google stopped rendering author snippets on SERP pages if the author's G+ page is not actively updated?
              irvingw
              irvingw
              0
              3
              320

            • Website's stability and it's affect on SEO
              AlanMosley
              AlanMosley
              0
              2
              1.0k

            • Blocking AJAX Content from being crawled
              BryceHoward
              BryceHoward
              0
              2
              733

            • Why is this url showing as "not crawled" on opensiteexplorer, but still showing up in Google's index?
              KeriMorgret
              KeriMorgret
              0
              2
              617

            • Should we use Google's crawl delay setting?
              RichardVaughan
              RichardVaughan
              0
              5
              19.3k

            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