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. Main content - javascript/ajax

    Main content - javascript/ajax

    Intermediate & Advanced SEO
    2 2 180
    • 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.
    • S.S.N
      S.S.N last edited by

      Hi,

      On most of our pages Javascript is displaying our main content, so it doesn't show up on the page source and I assume isn't being crawled by Google to the best of its ability.

      It's also not showing up on MOZ's page grader and crawl results, making analysis and testing harder.

      What's the easiest way, without having to completely redo our website, to have this content crawled by search engines and moz?

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

        Google's guide for AJAX crawling is here.  This is a considerable amount of work though, and honestly I wouldn't recommend it.  Google is getting better everyday at crawling JavaScript content.  You can try to test whether it's indexing this content by doing some very specific Google searches for things only rendered by JavaScript, and seeing if your pages rank for those searches.  If they do, there's a good chance that Google is reading and rendering your JavaScript properly.  Even if they don't now, it's likely only a matter of time before they do.

        I don't imagine that Rogerbot has an army of engineers at Moz trying to figure out how to render JavaScript outside of a browser, so I wouldn't expect this to come to Moz crawls anytime soon.  I also doubt that Rogerbot would understand what's going on in Google's guide either, as I wouldn't expect many sites to have actually gone through this process.

        Why is most of your main content generated by JavaScript?  It sounds like you should be rendering some of this on the page in good ol fashioned HTML.  A lot of times this doesn't require an entire redo of a website. It could just be a matter of loading some default HTML with the page, and then updating it with JavaScript, instead of rendering all of it with JavaScript.  It would be easier to see if you share the site (if not, I understand).

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
          Taiger
          Taiger
          0
          3
          446

        • Putting my content under domain.com/content, or under related categories: domain.com/bikes/content ?
          Andy.Drinkwater
          Andy.Drinkwater
          0
          2
          69

        • Duplicate content on .com .au and .de/europe/en. Would it be wise to move to .com?
          Wasabihound
          Wasabihound
          0
          3
          279

        • Https://www.mywebsite.com/blog/tag/wolf/ setting tag pages as blog corner stone article?
          AlirezaHamidian
          AlirezaHamidian
          0
          6
          135

        • Pros vs Cons - Navigation/content embedded within javascript
          Travis_Bailey
          Travis_Bailey
          0
          2
          163

        • URL Redirect: http://www.example.net/ vs. http://www.example.net
          dotfly
          dotfly
          0
          2
          705

        • Ajax Content Indexed
          Cyrus-Shepard
          Cyrus-Shepard
          1
          2
          323

        • 301 or 302 - www.yoursite.com/uk/content
          AlanMosley
          AlanMosley
          0
          7
          982

        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