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
-
Url shows up in "Inurl' but not when using time parameters
Hey everybody, I have been testing the Inurl: feature of Google to try and gauge how long ago Google indexed our page. SO, this brings my question. If we run inurl:https://mysite.com all of our domains show up. If we run inurl:https://mysite.com/specialpage the domain shows up as being indexed If I use the "&as_qdr=y15" string to the URL, https://mysite.com/specialpage does not show up. Does anybody have any experience with this? Also on the same note when I look at how many pages Google has indexed it is about half of the pages we see on our backend/sitemap. Any thoughts would be appreciated. TY!
On-Page Optimization | | HashtagHustler1 -
Will shortening down the amount of text on my pages affect it's SEO performance?
My website has several pages with a lot of text that becomes pretty boring. I'm looking at shortening down the amount of copy on each page but then within the updated, shortened copy, integrating more target keywords naturally. Will shortening down the current copy have a negative effect on my SEO performance?
On-Page Optimization | | Liquid20150 -
Should we add our company's name in page title tag or not?
We have been adding our company (Townscript) name in all the page titles. For example, in an event page of Lucknow Conclave: www.townscript.com/lucknowconclave the page title is Lucknow Conclave | Alexis Society | Townscript I read somewhere that it's not necessary to put your company's name in the title tag. Is it right? Please help!
On-Page Optimization | | sanchitmalik0 -
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 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 -
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 -
Does a page's url have any weight in Google rankings?
I'm sure this question must have been asked before but I can't find it. I'm assuming that the title tag is far more important than the page's url. Is that correct? Does the url have any relevance to Google?
On-Page Optimization | | rdreich490