Text to Code Ratio & SEO
-
Hi
Has anyone had experience of updating their text to code ratio if its too high & whether this has much impact on SEO performance?
I am trying to prioritise tasks & wondered if this is something which should be higher on my list.
Thank you
-
Brilliant thank you I always get this flagged in my audits & just wanted to make sure I'm not missing anything.
-
The old "text to code ratio" thing was always a myth, Becky, but it keeps popping up periodically.
I asked John Mueller of Google about it directly during a Crawling and Indexing Hangout and his answer was unequivocal, short and sweet:
Paul: Followup to the code density question - does code to text ratio make any difference for ranking?
John Mueller> Paul Thompson: No.
Paul Thompson> John Mueller: Much appreciated. Have been railing against this idea for so long, but folks making this claim keep popping up regularly
Here's the page with the actual comment exchange. Good video in general on crawling/indexing questions.
So - straight from the horse's mouth.
Paul
-
Yes I've only used schema and this was implemented before my time, so I may change the code
Thanks
-
Ah really? That's not good!
Personally I use Schema so can only really comment on that - someone else might have more of a view.
-Andy
-
Ok great, our dev team have messed our schema up so I need to sort this out
Is there a preference over data-vocab vs. schema?
Thanks!
-
I would defiantly be adding schema because there are many benefits to showing Google exactly what is what.
I have seen sites where there has been no change in search positions, and others where there have, but this could as well be about a page being more visible in Google and as such, getting more traffic and eventually a boost from Google as they realise it is a popular result.
Done right, there is no negative to adding Schema
-Andy
-
Great thank you, we're trying to add more content to things like product/category pages but getting the balance is sometimes hard.
I think I have about 600 pages being flagged as having a low text to code ratio, but just wanted to make sure I am focusing on my top priorities when it comes to ranking factors
What do you think about schema? I read that it wasn't a ranking signal. but then saw it's included in the periodic table of seo success signals, under 'do your pages use structured data to enhance listings?
Thanks
-
Hi Becky,
I have never seen a case where this actually makes a difference. However, I have found code issues because of it, but again, nothing that impacted SEO.
I guess that if a page is really large, then this can slow things down - that can impact SEO, but outside of this, I wouldn't be worrying about it.
Just keep an eye on any 'thin' pages that might pop up as a result of seeing these.
-Andy
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
-
Changing categorisation effect on SEO
Hi I work on an ecommerce shop & we've discussed changing some of out categories. We have one named cupboards & lockers, but want to split this out, so we have Cupboards then Lockers so customers can browse through our main navigation like this. For SEO I know initially our rankings will be affected, but long term moving categories up a level will be an improvement & will be more relevant - has anyone does this before and could provide any advice? Becky
Intermediate & Advanced SEO | | BeckyKey0 -
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 -
SEO frustration...is my website too busy?
My real estate website, www.RiverValleyGroup.com, is currently not ranked in the top-50 for any of the keywords that I am currently targeting. I am targeting keywords such as 'Louisville homes', 'homes for sale in Louisville KY', etc....I am starting to think maybe my site needs to be revamped? I'm fairly new to SEO and have no idea how to get on the 1st page of Google for targeted keywords. Please help!
Intermediate & Advanced SEO | | gohawks77900 -
Do Q&A 's work for SEO
If I create a good community in my particular field on my SEO site and have a quality Q&A section like this etc (ripping of MOZ's idea here sorry, I hope it's ok) will the long term returns be worth the effort of creating and man ageing this. Is the user created content of as much use as I think it will be?
Intermediate & Advanced SEO | | mark_baird0 -
Website Layout and SEO
Hi All, As a brand new user to Wordpress and having read articles and forum posts I have purchased Studiopress Genesis Enterprise Theme. QuestionWordpress like any traditional bespoke site can be written to incorporate variations of columns structures.
Intermediate & Advanced SEO | | Mark_Ch
What is the best column strategy or page layout strategy for SEO? Thanks Mark0 -
Links in body text
From a purely SEO /link juice perspective, is there any benefit to linking from body text to a page that is in a pervasive primary navigation? The primary nav puts a link at the top of the HTML. With the tests done by members of this site, the "first link counts" rule negates the link juice value of a link in the body text if there is already a link in the nav. Now I've also seen the data on using hash tags to get a second or third link, but ignoring that, it would seem that links in the body text to pages in the nav have zero effect. This brings me to another question - block level navigation. If anchor text links pass more juice than links in the top navigation, why would you put your most coveted target pages in the top nav? You would be better off building links in the content, which would create a poor user experience. To me, the theory that anchor text links in the body pass more juice than links in the primary nav doesn't make any sense. Can someone please explain this to me?
Intermediate & Advanced SEO | | CsmBill0 -
Optimal URLs for SEO and UX
We are considering restructuring the URL scheme on one of the websites we maintain. We have a few options. Currently news article URLs are as follows:
Intermediate & Advanced SEO | | Peter264
http://domain.com/news/1234/article-title-name/ Download section URLs are as follows:
http://domain.com/downloads/files/1234/file-title-of-download-here/ Forum URLS:
http://forum.domain.com/forum/topic/1234/title-of-forum-topic-here/ We feel that these are a bit too long for both SEO and user experience. We want to remove as many directories from the URLs as possible. From experience, what do you recommend changing for the example URLs above? We have some ideas below...and we need to keep the ID in the URLs...however I know this is a little frustrating. Some ideas we have for news articles:
http://domain.com/news/article-title-shorter-1234
http://domain.com/article-title-shorter-n1234 Some ideas for the download pages:
http://domain.com/downloads/file-title-shorter-d1234
http://domain.com/downloads/files/file-title-shorter-1234
http://domain.com/file-title-shorter-d1234 Some ideas for the forum URLs:
http://forum.domain.com/topic-title-shorter-t1234
http://forum.domain.com/topic/topic-title-shorter-1234 What do you think of these suggestions? Any other URL ideas? Recommended URL length? The purpose of is question was to find the perfect URLs for the site we are working on; your thoughts, suggestions and tips are very much appreciated.0 -
Does a Slider widget harm my SEO?
Does using a slider widget (such as the one Skype uses) harm my SEO? Meaning, is the text still totally readable to search engines or will it be in JAVAscript. Are there any SEO-friendly sliders you would recommend?
Intermediate & Advanced SEO | | theLotter0