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
-
Disqus Comment is help Ntaifitness seo?
We use Disqus on our blog https://www.fitness-china.com/diy-dip-station Is it helpful for SEO? I found a few comments. Is our blog content not good enough, or use this? Few plugins
On-Page Optimization | | ahislop5740 -
Tips for Getting a Very Small Site to Rank
I am working on a very small (two page) site for a client, and trying to rank for some very competitive local terms. The site is www.arlingtonbuilders.com, and our terms center around local cities (like Arlington) plus "custom homes," "custom renovations," etc. I feel very limited in terms of what I can do on the site, and I'm building citations offsite, but I feel stuck. I'd love some tips for helping them rank better without building out an entire site.
On-Page Optimization | | ScottImageWorks3 -
Can horrific grammar and spelling in comments hurt the value of an otherwise great page?
I've got a website whose pages get lots of comments. Tons of activity, which I would think Google would like (and seems to like). However -- I just can't put this nicely -- most commenters are not very bright. Their grammar and spelling is horrific. These are not foreigners who lack English skills, they are just about all primarily English speakers and the site is 99% US traffic. It's a low-income segment of the population. So, I've been wondering recently if Google will mark down the value of the page due to the bad grammar and spelling in the comments, even if the page's content is otherwise very good and lengthy. I have read that they grammar and spelling into consideration when looking at the page, but would that include comments, or would they know they are comments and not judge a page on that? It would be a pain, but maybe I should I run all the comments at least through a spell checker? And manually fix their grammar? Problem is I get about 40 comments a day. And when I say bad grammar and spelling, I mean REALLY bad. Embarrassing.
On-Page Optimization | | bizzer0 -
Getting Duplicate meta title, and meta description errors
I have a website with shopify CMS. At the run time some pages generating itself with Tags name ( or we can say it search pages) which has been used in collections. so it's Meta tag and description is same as well as collection and in SEO tools it showing duplicate meta title, description errors. 1. http://brok3nclothing.com/collections/tanks/girls-skate-clothing
On-Page Optimization | | 1akal
2. http://brok3nclothing.com/collections/accessories/girls-skate-clothing
3. http://brok3nclothing.com/collections/accessories/girls-skate-clothing
4. http://brok3nclothing.com/collections/tanks/girls-surf-clothing For example above URLs are not on website, its generating by self with tags name like girls-skate-clothing, girls-surf-clothing etc. and these pages are accessing Meta titles, description from http://brok3nclothing.com/collections/tanks/ So will you please suggest me that should I worry about these duplicate meta title, description errors ???0 -
Do sites built with WordPress work in China get indexed by Baidu?
I think that WordPress.com is banned, but are websites that are created by WordPress get banned?
On-Page Optimization | | CoGri0 -
How Do I Get Rel=Author to Work Via Wordpress SEO by Yoast?
I have read Yoast's tutorial and others on how to get rel=author to work properly on my site (http://injuryattorneyshouston.com). Here are the results I get from the Google Structured Data Testing Tool: "Authorship is working for this webpage." "rel=author markup has successfully established authorship for this webpage." "Publisher markup is verified for this page." All seems well except for this: hatom-feed | hatom-entry: | |
On-Page Optimization | | cbizzle
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". |
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". | Does anyone know how to fix this?0 -
Getting Google to see major changes?
I am making some big changes to my site based on Moz's advice. How can I get google to see all of them? I submitted them to Google Webmasters. Is that the best thing to do? How long until Google updates all my pages?
On-Page Optimization | | dealblogger0 -
Google Will Now Start Indexing Facebook Comments
Interesting article: http://www.telegraph.co.uk/technology/google/8863354/Google-to-index-Facebook-comments.html
On-Page Optimization | | TheVolkinator0