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 does dirty html/css etc impact SEO?
- 
					
					
					
					
 Good Morning! I have been trying to clean up this website and half the time I can't even edit our content without breaking the WYSIWYG Editor. Which leads me to the next question. How much, if at all, is this impacting our SEO. To my knowledge this isn't directly causing any broken pages for the viewer, but still, it certainly concerns me. I found this post on Moz from last year: http://a-moz.groupbuyseo.org/community/q/how-much-impact-does-bad-html-coding-really-have-on-seo We have a slightly different set of code problems but still wanted to revisit this question and see if anything has changed. I also can't imagine that all this broken/extra code is helping our page load properly. Thanks everybody! 
- 
					
					
					
					
 Invalid code does not equate to slow code. Google used to purposely not close html and body tags to save bandwidth and loading time. I took the question as meaning w3c valid code. 
- 
					
					
					
					
 Bad code can definately affect seo rankings for a website. The question really depends on what exactly is wrong with the code. If its causing problems with page load speed times, that could be a problem for sure. HTML code and css code errors if written poorly or outdated does not really matter for actual seo and rankings on thier own. Unless these erros are causing other issues such as user experience which would increase bounce rates and affect rankings. If the code errors are causing duplicate pages., Html errors like missing H1, tags and such can affect on page seo scores which affect rankings. So in my honest opinion bad code can definately affect seo rankings for a website. Free page speed test with results breakdown can be had there => http://www.webpagetest.org Definately clean up all the HTML seo factors, usuability issues and page speed issues. Hope that helps, Have a great day, Joe 
- 
					
					
					
					
 I love him... 
- 
					
					
					
					
 As long as links are not broken and resources are not returning 404 errors, my understanding is that it is not affected at all. The only thing I would make sure of is that fetch as google returns the page looking like it should. Here is a video from the authority on the matter. 
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
- 
		
		
		
		
		
		Disallow: /jobs/? is this stopping the SERPs from indexing job posts
 Hi, Intermediate & Advanced SEO | | JamesHancocks1
 I was wondering what this would be used for as it's in the Robots.exe of a recruitment agency website that posts jobs. Should it be removed? Disallow: /jobs/?
 Disallow: /jobs/page/*/ Thanks in advance.
 James0
- 
		
		
		
		
		
		Lightboxes and SEO
 Do lightboxes (AKA popup boxes when you click "learn more" type CTAs) have any negative effect on SEO? We are looking at revamping our sites to have more of a tiled approach, and a lightbox with summary content popping out with additional CTAs, directing to pages with more information or free trial pages. Is there any downside to this approach from an organic perspective? is there anything specific to keep in mind when creating these if not? Intermediate & Advanced SEO | | Chris81980
- 
		
		
		
		
		
		Does collapsing content impact Google SEO signals?
 Recently I have been promoting custom long form content development for major brand clients. For UX reasons we collapse the content so only 2-3 sentences of the first paragraph are visible. However there is a "read more" link that expands the entire content piece. Intermediate & Advanced SEO | | RosemaryB
 I have believed that the searchbots would have no problem crawling, indexing and applying a positive SEO signal for this content. However I'm starting to wonder. Is there any evidence that the Google search algorithm could possible discount or even ignore collapsed content?1
- 
		
		
		
		
		
		Removing .html from URLs - impact of rankings?
 Good evening Mozzers. Couple of questions which I hope you can help with. Here's the first. I am wondering, are we likely to see ranking changes if we remove the .html from the sites URLs. For example website.com/category/sub-category.html Change to: website.com/category/sub-category/ We will of course make sure we 301 redirect to the new, user friendly URLs, but I am wondering if anyone has had previous experience of implementing this change and how it has effected rankings. By having the .html in the URLs, does this stop link juice being flowed back to the root category? Second question: If one page can be loaded with and without a forward slash "/" at the end, is this a duplicate page, or would Google consider this as the same page? Would like to eliminate duplicate content issues if this is the case. For example: website.com/category/ and website.com/category Duplicate content/pages? Intermediate & Advanced SEO | | Jseddon920
- 
		
		
		
		
		
		Onsite SEO vs Offsite SEO
 Hey I know the importance of both onsite & offsite, primarily with regard to outreach/content/social. One thing I am trying to determine at the moment, is how much do I invest in offsite. My current focus is to improve our onpage content on product pages, which is taking some time as we have a small team. But I also know our backlinks need to improve. I'm just struggling on where to spend my time. Finish the onsite stuff by section first, or try to do a bit of both onsite/offsite at the same time? Intermediate & Advanced SEO | | BeckyKey1
- 
		
		
		
		
		
		Does blocking foreign country IP traffic to site, hurt my SEO / US Google rankings?
 I have a website is is only of interest to US visitors. 99% (at least) of Adsense income is from the US. But I'm getting constant attempts by hackers to login to my admin account. I have countermeasures fo combat that and am initiating others. But here's my question: I am considering not allowing any non US, or at least any non-North American, traffic to the site via a Wordpress plugin that does this. I know it will not affect my business negatively, directly. However, are there any ramifications of the Google bots of these blocked countries not being able to access my site? Does it affect the rankings of my site in the US Google searches. At the very least I could block China, Russia and some eastern European countries. Intermediate & Advanced SEO | | bizzer0
- 
		
		
		
		
		
		Domain Alias SEO
 We have 5 domain alias of our existing sites Intermediate & Advanced SEO | | unibiz
 All 5 domain alias are domain alias of our main site. It means, all domain alias will have exactly same site and contents
 Like Main domain: www.mywebsite.com
 DomainAlias: www.myproduct.com, www.myproduct2.com, www.myproduc3.com
 And if anybody will open our site www.myproduct.com, it will open same website which I have in primary site what can i do to rank all website without any penalty....i s there any way? This is domain alias of in hosting industry Thanks0
- 
		
		
		
		
		
		/%category%/%postname%/ Permalink structure
 Mostly everyone seems to agree that /%category%/%postname%/ is the best blog structure. I'm thinking of changing my structure to that because now it's structured by date which is bad. But almost all of my posts are assigned to more than one category. Won't this create duplicate pages? Intermediate & Advanced SEO | | UnderRugSwept0
 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				