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
-
Ranking dropped after change single page url, should I change it back?
I was making updates to the content on the following page, and a few days later dropped from #2 SERP ranking to 50+. Things I checked: Yes, 301 redirect was implemented right away. After publishing, I manually requested indexing in search console. Right after publishing I re-submitted the sitemap manually and Google said they had not crawled it in 9 days. My question: should I change the URL back to the old one, or give it a little more time (especially since I re-submitted sitemap) Original URL: https://www.travelinsurancereview.net/plans/travel-medical/ New URL: https://www.travelinsurancereview.net/plans/travel-medical-insurance/
On-Page Optimization | | DamianTysdal0 -
Best schema option for condos / condominiums?
Hey guys, I'm doing a review on some schema on some of our sites. Most of them are generic using LocalBusiness. There are a few more specific schemas I could use, but not sure what would be the most relevant. Wondering if any of you have a suggestion or ideas? https://schema.org/Residence https://schema.org/LodgingBusiness https://schema.org/ApartmentComplex or I could just stick with LocalBusiness. I'm leaning towards LodgingBusiness or ApartmentComplex.... but when I think of LodgingBusiness I think of something temporary / vacation type deal like hotels. Apartments... kind of self explanatory, a condominium isn't exactly an apartment but perhaps it is more comparable to an apartment than a hotel, motel or inn. What are you thoughts on this? Also, which "format" is better to use RDFa, microdata, or JSON-LD. Does it matter?
On-Page Optimization | | donnieath0 -
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 -
H2's vs Meta description
in some of my serp results the h2's are showing up instead of the meta description. i have read that H2's arent really valid anymore. can someone clarify this for me?
On-Page Optimization | | dhanson240 -
Will "internal 301s" have any effect on page rank or the way in which an SE see's our site interlinking?
We've been forced (for scalability) to completely restructure our website in terms of setting out a hierarchy. For example - the old structure : country / city / city area Where we had about 3500 nicely interlinked pages for relevant things like taxis, hotels, apartments etc in that city : We needed to change the structure to be : country / region / area / city / cityarea So as patr of the change we put in place lots of 301s for the permanent movement of pages to the new structure and then we tried to actually change the physical on-page links too. Unfortunately we have left a good 600 or 700 links that point to the old pages, but are picked up by the 301 redirect on page, so we're slowly going through them to ensure the links go to the new location directly (not via the 301). So my question is (sorry for long waffle) : Whilst it must surely be "best practice" for all on-page links to go directly to the 'right' page, are we harming our own interlinking and even 'page rank' by being tardy in working through them manually? Thanks for any help anyone can give.
On-Page Optimization | | TinkyWinky0 -
Duplicate Content from on Competitor's site?
I've recently discovered large blocks of content on a competitors site that has been copy and pasted from a client's site. From what I know, this will only hurt the competitor and not my client since my guy was the original. Is this true? Is there any risk to my client? Should we take action? Dino
On-Page Optimization | | Dino640 -
Will Google penalize my website if I hide the H1 tag?
If I hide H1 tag (title on the homepage) with CSS, how Google handle with my site?
On-Page Optimization | | joeko0 -
What's the best practice for handling duplicate content of product descriptions with a drop-shipper?
We write our own product descriptions for merchandise we sell on our website. However, we also work with drop-shippers, and some of them simply take our content and post it on their site (same photos, exact ad copy, etc...). I'm concerned that we'll loose the value of our content because Google will consider it duplicated. We don't want the value of our content undermined... What's the best practice for avoiding any problems with Google? Thanks, Adam
On-Page Optimization | | Adam-Perlman0