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.
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 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Barba Plugin and SEO
 Hello, community! My client wants to use the barba.js plugin for their new site. What are the implications for SEO? Technical SEO | | SimpleSearch0
- 
		
		
		
		
		
		does <base> in html affect seo?
 hey, just wanna know does <base> in head of website affect SEO? and if it's a yes, how? Technical SEO | | m17001
- 
		
		
		
		
		
		Loading images below the fold? Impact on SEO
 I got this from my developers. Does anyone know if this will be a SEO issue? We hope to lazy-load images below the fold where possible, to increase render speed - are you aware of any potential issues with this approach from an SEO point of view? Technical SEO | | KatherineWatierOng1
- 
		
		
		
		
		
		Do Letters With Accents Affect SEO?
 Hi Guys, My company has a franchise of a foreign company that uses an accent/foreign letter in its brand name. We have to refer to this franchise with this symbol on our website to meet their standards. I've done some research on this but its not conclusive, so i was wondering whether anyone here can confirm this for me; Will using the letter with this symbol impair our rankings for this franchise name? Obviously as a UK business people search for this franchise with a regular letter and not the accented one. I would have thought that Google is clever enough to recognise the meaning of the accented letter by now and therefore it wouldn't affect rankings (much). Furthermore, do you think that it would make any difference to use the HTML element to represent the accent rather than copy and pasting the symbol onto our website? I would've thought this would help Google pick it up, but it might not make a difference anyway! Any help is appreciated. Thanks Sam Technical SEO | | Sandicliffe1
- 
		
		
		
		
		
		International Seo - Canada
 Our organization is currently only operating in the USA but will soon be entering the Canadian market. We did a lot of research and decided that for our needs it would be best to use a subfolder for Canada. Initially we will be targeting the english speaking community but eventually we will want to expand to the french speaking Canadians as well. The question is - is there a preferred version in setting up the subfolders: www.website.org/ca/ -- default will be english www.website.org/ca/fr/ - french www.website.org/en-ca/ - english www.website.org/fr-ca/ - french www.website.org/ca/en/ -english www.website.org/ca/fr/ - french Thanks Technical SEO | | Morris770
- 
		
		
		
		
		
		What is the best website structure for SEO?
 I've been on SEOmoz for about 1 month now and everyone says that depending on the type of business you should build up your website structure for SEO as 1st step. I have a new client click here ( www version doesn't work)... some bugs we are fixing it now. We are almost finished with the design & layout. 2nd question have been running though my head. 1. What would the best url category for the shop be /products/ - current url cat ex: /products/door-handles.html 2. What would you use for the main menu as section for getting the most out of SEO. Personally i am thinking of making 2-3 main categories on the left a section where i can add content to it (3-4 paragraphs... images maybe a video).So the main page focuses on the domain name more and the rest of the sections would focus on specific keywords, this why I avoid cannibalization. Main keyword target is "door handles" Any suggestions would be appreciated. Technical SEO | | mosaicpro0
- 
		
		
		
		
		
		Changing CMS, are there SEO effects?
 We want to change our cms from typo3 to CMS made Simple. We have done this already for another site and it effected the rankings. Have you got experience with this? What factors are important for SEO to consider? Is it normal when you change from cms the rankings will drop? Technical SEO | | PlusPort0
- 
		
		
		
		
		
		Impact of 401s on Site Rankings
 Will having 401s on a site negatively impact rankings? (e.g. 401s thrown from a social media sharing icon) Technical SEO | | Christy-Correll0
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				