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
-
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 -
How does Google handle read more tags in Wordpress
Hi Everyone I am wondering how Google handles the read more tag in Wordpress. I pasted the link to a blog post on Google and found nothing (domain.com/post#readmore). Then I paste the version without #readmore (domain.com/post) and found that Google indexed the page but with the option to click "read more" to read it. The full blog post is not in their index, just the version asking you to read more. Is this because Google hasn't gotten to it or is Google ignoring it. I am not sure but ideally I rather have the full blog post indexed, not the read more version. I am curious to whether this will cause duplicate content issues. What are your experience with this and is it advisable to use an alternate method for read more. Maybe with a Wordpress plugin. Thanks in advance.
On-Page Optimization | | gaben0 -
Duplicate URL's in Sitemap? Is that a problem?
I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google?
On-Page Optimization | | Luciana_BAH0 -
Duplicate Content with ?Page ID's in WordPress
Hi there, I'm trying to figure out the best way to solve a duplicate content problem that I have due to Page ID's that WordPress automatically assigns to pages. I know that in order for me to resolve this I have to use canonical urls but the problem for me is I can't figure out the URL structure. Moz is showing me thousands of duplicate content errors that are mostly related to Page IDs For example, this is how a page's url should look like on my site Moz is telling me there are 50 duplicate content errors for this page. The page ID for this page is 82 so the duplicate content errors appear as follows and so on. For 47 more pages. The problem repeats itself with other pages as well. My permalinks are set to "Post Name" so I know that's not an issue. What can I do to resolve this? How can I use canonical URLs to solve this problem. Any help will be greatly appreciated.
On-Page Optimization | | SpaMedica0 -
How to Structure URL's for Multiple Locations
We are currently undergoing a site redesign and are trying to figure out the best way to structure the URL's and breadcrumbs for our many locations. We currently have 60 locations nationwide and our URL structure is as follows: www.mydomain.com/locations/{location} Where {location} is the specific street the location is on or the neighborhood the location is in. (i.e. www.mydomain.com/locations/waterford-lakes) The issue is, {location} is usually too specific and is not a broad enough keyword. The location "Waterford-Lakes" is in Orlando and "Orlando" is the important keyword, not " Waterford Lakes". To address this, we want to introduce state and city pages. Each state and city page would link to each location within that state or city (i.e. an Orlando page with links to "Waterford Lakes", "Lake Nona", "South Orlando", etc.). The question is how to structure this. Option 1 Use the our existing URL and breadcrumb structure (www.mydomain.com/locations/{location}) and add state and city pages outside the URL path: www.mydomain.com/{area} www.mydomain.com/{state} Option 2 Build the city and state pages into the URL and breadcrumb path: www.mydomain.com/locations/{state}/{area}/{location} (i.e www.mydomain.com/locations/fl/orlando/waterford-lakes) Any insight is much appreciated. Thanks!
On-Page Optimization | | uBreakiFix0 -
Does 'XXX' in Domain get filtered by Google
I have a friend that has xxx in there domain and they are a religious based sex/porn addiction company but they don't show up for the queries that they are optimized against. They have a 12+ year old domain, all good health signs in quality links and press from trusted companies. Google sends them adult traffic, mostly 'trolls' and not the users they are looking for. Has anyone experienced domain word filtering and have a work around or solution? I posted in the Google Webmaster help forums and that community seems a little 'high on their horses' and are trying to hard to be cool. I am not too religious and don't necessarily support the views of the website but just trying to help a friend of a friend with a topic that I have never encountered. here is the url: xxxchurch.com Thanks, Brian
On-Page Optimization | | Add3.com0 -
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 -
Hiding Page Titles By Display None
Hi. I am new to this community, and new to SEO as well. A friend asked me to give them suggestions on onsite optimization for their Drupal website. I know page titles are very important, and usually they should be set to H1. (At least I think) This particular website has all their page titles set to H2 and they are using display:none in their stylesheet to hide them for graphic design reasons. What would be the most practical work around for this? We don't want this to appear sketchy in the eyes of the SE's, but putting page titles at the top of their pages really would take away from their graphical design. The second issue is that they use a module called Quicktabs for tabbed product specs on each page. Each tab is actually pulled from a post (called a node in Drupal), so each tab has it's own title that is an H2. So not only are they hiding the main page title, but they are hiding 5 others within the tabs, and their are 6 H2 elements showing up on each product page all set to display:none. Any creative suggestions? Hope that makes sense.... Thank you!
On-Page Optimization | | aprilm-1890400