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. Randomly Displayed Text: Hidden text issue?

    Randomly Displayed Text: Hidden text issue?

    Intermediate & Advanced SEO
    2 2 308
    • 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.
    • inhouseseo
      inhouseseo last edited by

      I want to add some script to my site so that a given page publishes a different paragraph of text every time the page loads. Something like randomly displayed testimonials (but with more text).

      So, when you look at the page source, you would see all the text (e.g testimonial-1, testimonial-2, etc.), but the user would only see one paragraph randomly.

      Would this be considered hidden text (one code for search engine, one for use)? Is there a safe number of words you can do this with without setting off red flags?

      I appreciate the help.

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

        You can simply use a bit of ajax or javascript to do this or even a dynamic php script.

        Search engines will see all of the text within the html, as all you are doing is showing the user certain parts of the text. It is completely fine, search engines are ok with this.

        You should however give the option so that the user can choose to view other testimonials.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Is the flow of page rank through anchor text links diminished if hidden using tabs
          andy.bigbangthemes
          andy.bigbangthemes
          0
          2
          31

        • Using a lot of "Read More" Hidden text
          vivekrathore
          vivekrathore
          0
          8
          881

        • Is there a way to show random blocks of text to users without it affecting SEO? Cloaking for good?
          CleverPhD
          CleverPhD
          0
          3
          373

        • CSS Display None / Hidden? Will I get in Trouble?
          sophia123
          sophia123
          1
          5
          2.1k

        • Hidden text that's not show in default view, does it hurt my on page optimization?
          RicardoLG
          RicardoLG
          1
          9
          325

        • Is white text on a white background an issue when...?
          donford
          donford
          0
          6
          698

        • Does Google read texts when display=none?
          BeytzNet
          BeytzNet
          0
          3
          584

        • Would using display:none; to hide a section of text effect SEO negatively?
          CPU
          CPU
          0
          8
          3.9k

        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