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. Alternative HTML Structure for indexation of JavaScript Single Page Content

    Alternative HTML Structure for indexation of JavaScript Single Page Content

    Intermediate & Advanced SEO
    5 2 184
    • 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.
    • FranktheTank-47497
      FranktheTank-47497 last edited by

      Hi there,

      we are currently setting up a pure html version for Bots on our site amazine.com so the content as well as navigation will be fully indexed by google. We will show google exactly the same content the user sees (except for the fancy JS effects). So all bots get pure html and real users see the JS based version.

      My questions are first, if everyone agrees that this is the way to go or if there are alternatives to this to get the content indexed. Are there best practices? All JS-based websites must have this problem, so I am hoping someone can share their experience.

      The second question regards the optimal number of content pieces ('Stories') displayed per page and the best method to paginate. Should we display e.g. 10 stories and use ?offset in the URL or display 100 stories to google per page and maybe use rel=”next”/"pref" instead.

      Generally, I would really appreciate any pointers and experiences from you guys as we haven't done this sort of thing before!

      Cheers, Frank

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

        Frank,

        I don't think your question is very clear. Are you setting up a separate that is pure HTML, or does it also include some fancy JS?

        Regarding pagination, I don't think it matters how many 'Stories' you have per page, or how you link to them (just as long as it's crawlable). What does matter, though, is duplicate content. On the paginated pages, do the 'Stories' display in full or just an excerpt, that then link to a unique URL? When possible, avoid the same content appearing on multiple URLs.

        Ryan

        FranktheTank-47497 1 Reply Last reply Reply Quote 1
        • FranktheTank-47497
          FranktheTank-47497 @GreenHatWeb last edited by

          Hey Ryan, thanks, and sorry about that:

          Users will of see the JS version and googlebot (and other bots) will see a purely html based site. I will change the original question accordingly.

          Frank

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

            Frank,

            Are you using a different URL for your HTML-only site? Are you noindexing/nofollowing your JS site?

            Some JS is crawlable/processable by bots: http://www.thoughtspacedesigns.com/blog/search-engine-optimization/whats-this-googlebot-processes-javascript/

            FranktheTank-47497 1 Reply Last reply Reply Quote 0
            • FranktheTank-47497
              FranktheTank-47497 @GreenHatWeb last edited by

              Hey Ryan,

              it will be the same URL but we won't display the complicated JS (which the bot unfortunately can't interpret) to the googlebot, just the same structure. Thanks for your help, I'm afraid despite your best efforts, I'm still not sure what the best practice is here... Anyone?

              Thanks, Frank

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Javascript content not being indexed by Google
                evolvingSEO
                evolvingSEO
                0
                4
                148

              • Structure of HTML Page
                Roman-Delcarmen
                Roman-Delcarmen
                1
                2
                107

              • No Index thousands of thin content pages?
                KenSchaefer
                KenSchaefer
                0
                6
                942

              • SEO: How to change page content + shift its original content to other page at the same time?
                LizMicik
                LizMicik
                0
                3
                87

              • No-index pages with duplicate content?
                Everett
                Everett
                0
                10
                402

              • Interlinking from unique content page to limited content page
                khi5
                khi5
                0
                9
                100

              • Pages indexed but content not ranking
                DennisSeymour
                DennisSeymour
                0
                11
                4.1k

              • Duplicate content on index.htm page
                Fatfreddy
                Fatfreddy
                0
                5
                765

              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