Does Commented HTML Code Get Spidered?
-
I have a change, perhaps temporary, to my web store that I will be making. I am wondering if the code that I will comment out () gets spidered?
-
Hi Larry, that was a great question. This is why I love SEOMoz.org, there is always something to learn. I had never thought seriously about this question before, as I web developer I just figured it if I commented out html I didn't have to worry about it being crawled. After reviewing the responses I can see there may be a tad more to it then that.
Good question, good responses.
-
There is a possibility that Google will crawl a link in comments, it's happened before with comments in Javascript. However, it will not have any impact at all from an SEO perspective.
-
It means the content between comment tags won't get spidered.
I'm sorry if I wasn't clear enough on my previous comment.
-
Does that mean the content between comment tags get spidered?
-
Crawlers ignore comment tags. They do not have any SEO impact.
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
-
# code not detected
Hi guys, my H1 code is like but Yoast SEO and Google Page Speed keeps saying that i do not have a H1 tag in my website, Is my code wrong? Keyword | Keyword2
On-Page Optimization | | kevinbp0 -
How To Get GD Star Rating working in wordpress categories.
I want to use GD star rating so that stars show up in SERPS for my category pages. I've installed the plugin but can't see how to do it. Does anyone have any idea?
On-Page Optimization | | SamCUK0 -
SEOmoz tells me that I have too many links, however most of them are comments...
Is this affecting the overall ranking of the page? http://www.smileclinic.sk/zubne-implantaty/ (164) http://www.smileclinic.sk/zubne-korunky/ (179) If so how can I disallow them? We use Wordpress with the Joost SEO plugin, but I don't see a disallow option there for comments...
On-Page Optimization | | danielshaw0 -
How to make FB comments crawlable by Google? <noscript>?</noscript>
We get tons of FB comments, but it's all in iframe, so Google doesn't give us any credit for it. We found a solution - turn all the comments into HTML and hide it from readers with <noscript>. </p> <p> </p> <p>Will this help? I heard that Google considers <noscript> a scammy practice. Is that true?</p> <p>How do you guys make your FB comments SEO friendly?</p> <p> </p></noscript>
On-Page Optimization | | Alexey_mindvalley0 -
How can I get on-page analysis reports ?
I started trying out seomoz' facilities as a way to give myself a checklist of things to do-and-don't while learning SEO. Faced with a ton of new and interesting information, I started optimizing my home page and writing some content that can tell a story to people in my business. So I started using on-page analysis tools. But the campaign opening screen is telling me to wait for reports approx. two weeks. There are some reports ( not so good ones, a lot to improve ) but not the one I need most: the on-page analysis one. I set up two campaigns and I have the same problem for both. Am I doing something wrong ? Can I change my pages to make this work ?
On-Page Optimization | | wiebe0 -
Blog Comment IPs Seen By Google?
I have a page on a client's site for testimonials (a dental practice). The page is actually a post on a Wordpress install where customers can enter their testimonials as WP comments. In an effort to encourage more clients to give more testimonials I was considering setting up an iPad or other tablet at the receptionist's desk where patients would be able to enter their successes as comments on the page. If I made sure the patients all used unique names and emails in the Wordpress comments, would Google still see all the comments are from the same IP and view this as suspicious?
On-Page Optimization | | jargomang0 -
Page Analysis on our asp.net site is showing the following for HTML Text - //
paintball-online.com This is consistent on every page, despite these pages having text. I assume the SEOMoz tool is working just fine and we have a coding issue that may be hindering our SEO efforts. Any ideas/suggestions? Thanks
On-Page Optimization | | Istoresinc0 -
My blog title is getting added to my post title and I can't figure out how to remove it
Hello everyone, I am sure most of you guys know how to do this. I am finding that when my posts are listed in google, my blog title is added to my post title. 2 questions. 1. Is this hurting my rankings because the blog title is diluting my keywords making it look like I have a huge title? (the on page optimizer is dinging me for this. 2. I use a self hosted wordpress blog with the all in one seo plugin. Does anyone know how to remove the blog title from being appended to the post title? I thought I could do that in all in one seo by checking the rewrite title box and just having it say %post_title% but that didn't fix it. Also it was doing it before I checked that box as well. Any other ideas to try? Thanks
On-Page Optimization | | FastLearner0