How much impact does bad html coding really have on SEO?
-
My client has a site that we are trying to optimise. However the code is really pretty bad.
There are 205 errors showing when W3C validating. The >title>, , <keywords> tags are appearing twice. There is truly excessive javascript. And everything has been put in tables.</keywords>
How much do you think this is really impacting the opportunity to rank? There has been quite a bit of discussion recently along the lines of is on-page SEO impacting anymore.
I just want to be sure before I recommend a whole heap of code changes that could cost her a lot - especially if the impact/return could be miniscule.
Should it all be cleaned up?
Many thanks
-
Hi Chammy,
I inherited a site that reported 3,184 crawl errors in MOZ and a significant number of them (nearly 600) were duplicate titles and content. I have that down to under 1,000 total errors and only 86 critical errors. I have seen my ranking grow pretty substantially and in one week had 6 pages increase over 20 positions in rank. I can share the MOZ Rank Report if you would like to see it.
So yes, it does have an impact.
-
I'm sorry, I don't have any evidence from the user experience point of view,. although I would also be interested to see the results of any studies.
I will say that from a site management/maintenance point of view it makes sense to try and keep the code as clean as possible. I've been involved in project were a considerable chunk of the cost was incurred due to the amount of time and effort that was required to unravel the mess even before any new changes were made!
-
Thanks very much everyone - very helpful.
Good point re page speed - the pages are certainly slow to load so this could well be due to the huge amount of js and bad code.
And yes, think the duplicate tags should be sorted - this shouldn't be difficult.
Has anyone got any tangible results that they've seen as a result of cleaning up js and code?
-
If you've got things like duplicate title and meta-description's going on then I'd certainly take a look at fixing those. Being able to manage these two tags is vital to managing the way your pages will appear in the search results. (And your title tag is an important ranking factor).
Normally, if your page doesn't validate then it's not a major problem and search engines won't penalise you for it. If however, your page is so badly crafted that the html errors, and general page structure makes it difficult for the search engines (and humans) to read your page then you're going to suffer.
The key is to make sure that your site/page content is accessible. How accessible is your page to someone with disabilities, using a screen reader etc.
You've got to make sure that the search engines can understand what your page is about or your page won't be seen as a relevant page for any search terms...
How bad is it? How does google render the page in it's instant previews (you can check this is Google Webmaster tools)
-
I personally don't worry about bad code unless it slows down my page or can possibly make things confusing for search engines or readers.
If the title and meta are appearing twice this could be confusing for search engines, so I would change this. But, if you've got things like an unclosed
here and there I personally don't think that's going to be much of a factor.
-
Invalid code has a small effect on ranking. However, if the invalid code causes usability issues such as load time and or causes a high bounce rate then it can lower your rankings and of course cut back on conversions.
Some of it is a higher priority than others. I would say defo remove the meta keywords.
Combine JS pages. The tables while out of date is not a big issue.
If you have the time and resources then yes it should be cleaned up. If not then clean up major 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
-
SEO Elements for Canonicalized URLs?
I am helping a client with SEO for their ecommerce store. They have around 65 products, but close to 500 URLs all for those same products. Basically they have a bit of an index bloat problem but long story short restructuring was too much of a lift for them, so I got them set up with a canonical URL strategy to ensure all duplicate pages point to one "main" product page. Getting to the point: They also need an on-page overhaul. I've created keyword optimized titles, metas, H1s, etc. for each product. Do these elements need to be added to every single one of the 450+ product pages OR do I only need to add them to the 65 "main" product pages that everything else is pointing to, since that will ultimately be the page that gets crawled?
Technical SEO | | AJTSEO0 -
Are Expires Headers Detrimental to SEO Health?
My dev was looking into Expires Headers to increase speed, but she don't know the ramifications behind them for SEO. What I found online is really old: https://moz.com/blog/expires-headers-for-seo-why-you-should-think-twice-before-using-them What do SEOs think? Thanks in advance! ~Dana
Technical SEO | | dklarse0 -
Wordpress Pods and Wordpress SEO by Yoast
Hi I am optimising a new site that has been built in Wordpress using Pods. The Yoast Wordpress SEO plugin is not recognising any content on the site - has anyone any ideas on how to get around this - does it matter - is it the plugin that is at fault rahter than the set up of the site?
Technical SEO | | Highlandgael1 -
Why is my site going from bad to worse in the SERPS?
I've been having issues ranking for the key word kayak fishing. At one point a few months ago I managed to get my site www.yakangler.com to page 2 but have since fallen back to page 20+. I thought it was because of keyword stuffing or over optimization so I made some tweaks to my home page and started to see a small daily rise but stopped at page 19. I have since slipped back to the top of page 24... What am I doing wrong? I don't employ any blackhat linking, I know I have some W3C validation errors on my home page "many caused by the facebook like button". Any ideas on how to improve my SERPS would be greatly appreciated. The most frustrating thing is comparing my site to the top Google searches for that key word... I should be doing fine definitely not page 24! Much gratitude in advance for any help you can offer!
Technical SEO | | mr_w0 -
Transfer of website to maintain SEO
I am nearly finished building a new wordpress website to replace the old static HTML site which is currently doing very well in SERPs. My old site is currently hosted by a company who owns the site, my domain is registered with a different company and I have the nameservers pointed at Cloudflare. I have built my new site and have it hosted with a different company and I wish to keep the domain name registered with the company it is currently with.Is there an order that I should follow to move from the old site to the new site using my current domain name so that I minimize any impact on SEO. I built the new site with the same URL structure to maintain linking benefit. thanks
Technical SEO | | casper4340 -
Seo on a dk site
hi my client has asked if we can seo their dk site , my question is does all link building and article submission have to be in danish
Technical SEO | | Westernoriental0 -
Basic SEO HTML
Hello Everyone, One place I am weak is coding for SEO. I need to get better. One question I do have is can anyone explain why it's important to place css and java script files in an external file? How do you do this and how do you know if it's already being done? If it has not been done on a site is it hard to go back and do? I understand this is important from a site load time issue Thanks, Bill P.S. Can anyone recommend a resource where I can learn proper html coding for SEO? Thank you!
Technical SEO | | wparlaman0 -
Sitmap Page - HTML and XML
Hi there I have a domain which has a sitemap in html for regular users and a sitemap in xml for the spiders. I have a warning via seomoz saying that i have too many links on the html version. What do i do here? regards Stef
Technical SEO | | stefanok0