Randomly Displayed Text: Hidden text issue?
-
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.
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Have issues about expired domain? How to work on it? How to redirect?
Using expired domains to redirect on your site? For this you need to first Active your expired domainsand put two to three articles After google will got it that its now active and so google start crawling after that you need to put same articles that you created on expired site on your new site with same urls Now make a wild card redirect to exact urls or posts you created on your site
Intermediate & Advanced SEO | | LyleTLai0 -
Internal anchor text
Hello, I am wondering how to deal with internal anchor text. I read here and there that it shouldn't be too optimised but I also read that this is how google understands what my page is aout. I have breadcrumbs with my main keyword in the anchor text and can't change that it is automatic. In other words if i have 10 breadcrumb going to my top page with the keyword can I be penalised ?
Intermediate & Advanced SEO | | seoanalytics1 -
Moving from http to https: image duplicate issue?
Hello everyone, We have recently moved our entire website virtualsheetmusic.com from http:// to https:// and now we are facing a question about images. Here is the deal: All webpages URLs are properly redirected to their corresponding https if they are called from former http links. Whereas, due to compatibility issues, all images URLs can be called either via http or https, so that any of the following URLs work without any redirect: http://www.virtualsheetmusic.com/images/icons/ResponsiveLogo.png https://www.virtualsheetmusic.com/images/icons/ResponsiveLogo.png Please note though that all internal links are relative and not absolute. So, my question is: Can that be a problem from the SEO stand point? In particular: We have thousands of images indexed on Google, mostly images related to our digital sheet music preview image files, and many of them are ranking pretty well in the image pack search results. Could this change be detrimental in some way? Or doesn't make any difference in the eyes of Google? As I wrote above, all internal links are relative, so an image tag like this one: Hasn't changed at all, it is just loaded in a https context. I'll wait for your thoughts on this. Thank you in advance!
Intermediate & Advanced SEO | | fablau0 -
Issues with Sitelinks
Hey Everyone, I found a couple threads where this was asked, but unfortunately I haven't seen any responses that explain it yet. My issue is with the sitelinks Google is choosing for a section of my website; they're using wrong/lowercase anchor text for a couple of the page titles that isn't anywhere on the page or in the backend that I can find (see screenshot). Any thoughts/reasons as to why they'd be using the lowercase text there? Thanks in advance! David 9r9Pz4w
Intermediate & Advanced SEO | | davidkaralisjr0 -
Worth Modifying Code to Have Text Appear Near Top
Our site uses Wordpress. The code is somewhat heavy. The text to code ratio for the home page is only 16%. Our developer suggests that we modify the code so that the important text appears at the top of the page (without changing the design) so that Google can index it more easily. My developer feels this would be more beneficial for SEO. He believes that reducing the code would create HTML errors. The home page is www.nyc-officespace-leader.com Is this approach sound? My developer describes it in the following manner: | Let me say that I don’t believe the text to code ratio has a significant impact on SEO per se but of course that reducing code, it will reduce page weight therefore it may help to improve ranking. See Homepage for example, this is the top landing page of your site, therefore it is very relevant to optimize. You can see the first block, from attached it has very little content and too many code. There is almost nothing to do about it, visually that is a very good block, in terms of SEO it isn't. I do not recommend to take it off just for SEO, that will make all pages with lot of text, lack of images and people may go away. On the other hand, most of the cases we want to improve text code ratio, there is an impact on unexpected BUGs because the code is being changed and this may affect functionality. I would suggest to spend time on improve the sort-order of the important content inside the code, so we may have similar text code ratio at the end but the important code we need Google to index will be at the very top in the source code, in terms of a very technical approach Google will find the key content faster and that should help to improve the crawling process as search engines read HTML code linearly. This change do not necessarily will affect the HTML, we can achieve it by using style sheet (CSS code) instead, reducing the chance of major BUGs. Either is our choice, we need to evaluate potential problems, code issues and content impact and also we need to apply changes and wait at least 3-4 weeks to start seeing results. It is a long task. Let me know your thought about this, we will estimate a task to improve code without affect web design |
Intermediate & Advanced SEO | | Kingalan10 -
Mobile homepage title is showing unrelated text
Hi all, I've read the FAQs and searched the help center. My URL is: http://www.leibish.com/I just discover it today - when searching on mobile for the brand name (search for "Leibish") I find the following title: Reply (see the attached image).Also, when searching for site:leibish.com +reply you'll find at least a few dozens indexed pages with this title.I checked for the following:1. Link bombing - check with ahrefs and majestic - everything seemed fine.2. Alt tag or other hidden text - couldn't find anything. 3. DMOZ or Yahoo directory submissions with this anchor text - yet, nothing.Besides the fact that I must fix this issue I find it fascinating from the SEO perspective. I need the big guns in here - can you help my resolve this mystery? :-)Thanks...
Intermediate & Advanced SEO | | seoperad0 -
Anchor text diversity for internal links?
Should I be worried about anchor text diversity for my internal links? It seems like I should be ok but I just wanted to double check... you know how google can be
Intermediate & Advanced SEO | | KenyonManu3-SEOSEM0 -
Duplicate content issue
Hi I installed a wiki and a forum to subdomains of one of my sites. The crawl report shows me duplicate content on the forum and on wiki. This will hurt the main site? Or the root domain? the site by the way is clean absolutely from errors. Thanks
Intermediate & Advanced SEO | | nyanainc0