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. Javascript or HTML / DIVS to fix pagination issues?

    Javascript or HTML / DIVS to fix pagination issues?

    Technical SEO Issues
    5 3 1.1k
    • 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.
    • nicole.healthline
      nicole.healthline last edited by

      Which is better to fix a pagination problem, javascript or HTML/DIVs? I know in one Google Webmaster Forum, a Google engineer recommends Javascript, but I've also seen people use DIVs.

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

        Can you describe the exact issue you are trying to resolve?

        nicole.healthline 1 Reply Last reply Reply Quote 0
        • nicole.healthline
          nicole.healthline @RyanKent last edited by

          So, if you have an article that  you want to divide into five parts for a better user experience, what is the best way to put all of the content on one url? divs and css or javascript?

          Highland nicole.healthline 2 Replies Last reply Reply Quote 0
          • Highland
            Highland @nicole.healthline last edited by

            JS could work in that case. Load your content into hidden divs and show each on demand. Spiders could still get the whole article while users see one part at a time. Just remember that there is an indexation cap (100k IIRC) so there are limits to how well this can work.

            1 Reply Last reply Reply Quote 1
            • nicole.healthline
              nicole.healthline @nicole.healthline last edited by

              Is there a reason why JS is better than Divs/css or does it matter?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • My Homepage Won't Load if Javascript is Disabled. Is this an SEO/Indexation issue?
                Daniel_Marks
                Daniel_Marks
                0
                3
                475

              • How to fix this issue?
                danatanseo
                danatanseo
                0
                5
                95

              • Website Redesign / Switching CMS / .aspx and .html extensions question
                NielsB
                NielsB
                1
                5
                553

              • Pagination Issue
                crackingmedia
                crackingmedia
                0
                4
                102

              • Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
                CleverPhD
                CleverPhD
                0
                4
                245

              • Rel="canonical" of .html/ to .html
                irvingw
                irvingw
                0
                3
                154

              • /forum/ or /hookah-forum/
                Heydarian
                Heydarian
                0
                4
                359

              • Correct Redirect method for switching pages from .html to /pretty urls/
                tgr0ss
                tgr0ss
                0
                3
                529

              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