Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Hiding body copy with a 'read more' drop down option
-
Hi
I just want to confirm how potentially damaging using java script to hide lots of on page body copy with a 'read more' button is ?
As per other moz Q&A threads i was told that best not to use Javascript to do this & instead "if you accomplish this with CSS and collapsible/expandable <DIV> tags it's totally fine" so thats what i advised my clients dev.
However i recently noticed a big drop in rankings aprox 1 weeks after dev changing the body copy format (hiding alot of it behind a 'read more' button) so i asked them to confirm how they did implement it and they said: "done in javascript but on page load the text is defaulting to show" (which is contrary to my instructions)
So how likely is it that this is causing problems ? since coincides with ranking drop OR if text is defaulting to show it should be ok/not cause probs ?
And should i request that they redo as originally instructed (css & collapsible divs) asap ?
All Best
Dan
-
-
Hey Mick, makes good sense to do it that way so yes crazy if that has changed!!
My client scenario different in that three quarters of entire page of body copy (all well written & good quality) client wanted hidden behind a 'read more' button. Whilst im sure this will always be seen/crawled & indexed (although poss not given some of the recent comments) i think given Muellers hangout response theres a very good chance the hidden text will be seriously devalued.
Do you think advisable for me to recommend client re-show all body copy, im thinking so ?
All Best
Dan
-
I've just had fresh content crawled and indexed that is in this scenario. Basically we are saying to the visitor "if you really want to know some more boring technical information then expand this, but we don't want to spoil your experience by vomiting all the data at you at once". Crazy if that is changed.
-
agreed very worrying indeed !
let me know any findings after next crawl here & ill do the same
-
This is pretty disturbing news actually and it doesn't make any sense to me. If Google wants to promote pages with more and better quality content above the fold but also clean pages that users like - the read more buttons were the only functionality to marry both concepts.
At the moment all my pages are still fully indexed but if I see this change come into life I will have to re-think the content and layout of many pages...
-
Hi
For your info and others on this thread I have just seen this on SERT: https://www.seroundtable.com/google-index-click-to-expand-19449.html
And in the comments seen this hangout with John Mueller referenced where he says they discount non-displayed text (aprox 11 mins in): https://plus.google.com/events/cjcubhctfdmckph433d00cro9as
Having said that the client I have been looking into this for non-displayed text is indexed but then last cache date is 21st October which some people say in the thread will change after next crawl/cache.
Just wandering your (or anyone elses thoughts on this are) ?
All Best
Dan
-
Ah ha ! i see it included the full url in the link code
thanks Rafa yes i see similar flux with all my other clients now and none have dodgy links so presume just algorithmic flux, will review in a week or two
all best
dan
-
Hi Dan,
I have just clicked on the link you provided
Since the new Penguin is still rolling out and most ranking changes are at the moment down to this algo refresh I would suggest looking at your link profile for a start and if there is nothing wrong there, simply wait a couple of weeks until the refresh has officially finished and take it from there...
-
great thanks for the reassurance Mick !
-
yep, sound good.
I was working on a site last year and they switched a DNN module based on your scenario without letting me know, having already tested the existing module. First I saw was when rankings and traffic wobbled. In this case the text was lost in the javascript and accounted for about 25-30% of content on all their main pages. Nightmare!
-
grt thanks Mick
have done this now and all normally hidden body copy/content now shows so presume that means G can see it and i no longer need worry about this
-
You want Settings >> Show Advanced Settings >> (Privacy) Content Settings >> (Javascript) Do not allow any site to run javascript >> Finished.
Reload the site and check what you can see, or open up.
-
ok have done this now and all normally hidden body copy/content now shows so presume that means G can see it
-
yes, if the date of the cache is prior. So I would suggest disabling javascript in the browser reload the page and see if the expected text is displayed. If not that's what Google misses.
...and yes Google should show all the text in the cache version (text only) if the cached version is subsequent to your amendment.
-
Sorry just to confirm ....
if the body copy being displayed in GWT under the "This is how Googlebot fetched the page:" does NOT show the text that's revealed after clicking 'read more' button then thats ok since if was a prob would be listed problem such as javascripts blocked etc etc
OR
it is a problem since Googles not seeing the rest of the body copy ?
thanks
dan
-
Ok thanks Rafa that's good news
Rankings must just be just fluctuation or impact of any recent G algo updates since no other changes to site apart from the addition of some exact match anchor text links to product pages & more copy in prod descrips.
will see how next ranking report performs and look into further then if more drops or no bounce back
Re: 404 your correct how did you know without the domain part of the url ? Thanks ill tell dev
Really appreciate all your help Rafa !! thanks again !!
All Best
Dan
-
Partial doesn't necesserily means there is a problem. Check this article by Google: https://support.google.com/webmasters/answer/6066472?hl=en
If that font is the only thing not loading then it's not a problem for crawlers and it wouldn't have affected you rankings.
Btw that link to the font returns 404 error? Why are you loading fonts from a different website in the first place? Have it loaded from your site or from Google.
-
Thanks Rafa , ok done that and only listed issue is:
Googlebot couldn't get all resources for this page. Here's a list:
/fonts/glyphicons-halflings-regular.woff
so not sure if that refers to actual body copy or just some font style or similar etc etc ?
as i mentioned before the status of the fetch is 'partial' though not 'complete' so presume that means an issue, or does that just relate to 'G couldn't get all resources' ?
thanks, Dan
-
the cache version might still be of the page before they did changes to it Mick
-
Thanks Mick i searched cache:www.yoursite (clients hp url) and is showing as it shows usually, with just the first couple of paragraphs then read more button/link.
Are you saying when doing above (searching cache etc) it should show all the content as if i had clicked 'read more' button ? and if doesnt then there is an issue ?
cheers
dan
-
click on it and look at the list of issues - are there any javascripts blocked, unreachable etc.? is the preview complete or elements are missing? is render of this particular page (that lost rankings) different to other pages on your website? talk to your web developers about this and get them to fix any issues there. If there are no issues then the reason for your loss of rankings is somewhere else
-
Either switch javascript off in the browser or search cache:www.yoursite and see if you spot any content missing.
-
ok ive done that but status is saying 'partial' not 'complete' so i take it that means there is an issue ?
-
thanks Rafal will do that now
-
Collapsible divs use jquery which is a javascript. I don't think the rankings drop has got anything to do with it, unless there is an error which prevents cralwrs to access the text content. Fetch and render the page in WMT to see if there are problems.
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
-
When writing content for a website what is the optimal copy length?
My site is currently in the mist of a redesign and I’d like us to compile some recommendations on the length of copy for a page to rank well but can't seem to find any up to date articles on this.Does anyone have any suggestions, comments, or feedback?Thank you.
On-Page Optimization | | PorshaAndrea0 -
Two URL's for the same page
Hi, on our site we have two separate URL's for a page that has the same content. So, for example - 'www.domain.co.uk/stuff' and 'www.domain.co.uk/things/stuff' both have the same content on the page. We currently rank high in search for 'www.domain.co.uk/things/stuff' for our targeted keyword, but there are numerous links on the site to www.domain.co.uk/stuff and also potentially inbound links to this page. Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site, what would be the best course of action to take? Would a simple Canonical tag from the '/stuff' URL which points to the '/things/stuff' page be wise? If we were to scrap the '/stuff' URL totally and redirect it to the 'things/stuff' URL and change all our on site links, would this be beneficial and not harm our current ranking for '/things/stuff'? We only want 1 URL for this page for numerous reasons (i.e, easier to track in Analytics), but I'm a bit cautious that changing the page that doesn't rank may have an affect on the page that does rank! Thanks.
On-Page Optimization | | Jaybeamer2 -
Does Hiding the article´s date in a blog affect SEO?
We are running a blog and would like to hide date, as users find the article less interesting if they are dated more than 2 years ago. Will hiding the article´s date in a blog affecto SEO? Thanks in advance u2cJxsr
On-Page Optimization | | goperformancelabs0 -
Inches or " Feet or ' Does Google translate the symbols?
I have a client who sells things that the size is important. In their industry some people say "15 Inch Blue Widget" and others say "15" Blue Widget" using the symbol " for inches. On the page I know we could say both to cover all the bases but I want to get the title right. In their industry there is not one more preferred than the other. Does anybody know if Google translates ' to feet and " to inches. Should I work both into the title for a product or only one?
On-Page Optimization | | JoshuaLindley0 -
Duplicate Content for Men's and Women's Version of Site
So, we're a service where you can book different hairdressing services from a number of different salons (site being worked on). We're doing both a male and female version of the site on the same domain which users are can select between on the homepage. The differences are largely cosmetic (allowing the designers to be more creative and have a bit of fun and to also have dedicated male grooming landing pages), but I was wondering about duplicate pages. While most of the pages on each version of the site will be unique (i.e. [male service] in [location] vs [female service] in [location] with the female taking precedent when there are duplicates), what should we do about the likes of the "About" page? Pages like this would both be unique in wording but essentially offer the same information and does it make sense to to index two different "About" pages, even if the titles vary? My question is whether, for these duplicate pages, you would set the more popular one as the preferred version canonically, leave them both to be indexed or noindex the lesser version entirely? Hope this makes sense, thanks!
On-Page Optimization | | LeahHutcheon0 -
How to properly remove pages and a category from Google's index
I want to remove this category http://www.webdesign.org/web-design-news-all/ and all the pages in that category (e.g. http://www.webdesign.org/web-design-news-all/7386.html ) from Google's index. I used the following string in the "Reomval URS" section in Google Webmaster Tools: http://www.webdesign.org/web-design-news-all/* is that correct or I better use http://www.webdesign.org/web-design-news-all/ ? Thanks in advance.
On-Page Optimization | | VinceWicks0 -
Does show/hide element with javascript impact SEO
Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines. I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button. Would love to hear your thoughts?
On-Page Optimization | | VivaArturo0 -
Post Title - Use the blog's name or not?
In the tile of my post, shoudl I used my blog's name in it at the end or emit the blog name. EX: title of post with keywords | name of blog OR EX: title of post with keywords The site's name is 3 words long, so I'm worrying that those extra words are diluting the keywords in the post's name that I'm trying to target.
On-Page Optimization | | gregalam0