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
-
Does <hn>placement matter in the code?</hn>
Does it matter if SEO relevant HTML (such as the placement of an H1) is on line 100 versus 2,000? (Editing to provide more clarity)
On-Page Optimization | | EricSchell
My question is not related to where the H1 is visually on the page (above the fold or below, etc.) its purely a question as to does the line number in the rendered HTML file impact the power of the H1 on the page. As someone with a lot of SEO experience myself, I don't think when a bot is reading the page HTML it cares where the H1 is - just that it exists (and might have a weight above/below fold).0 -
Does this popup get crawled?
Hi, We have a popup on our site that shows examples of different trash cans that can be used for the bags we sell. Here's an example of a page that has the "common cans popup" http://www.plasticplace.com/3-gallon-high-density-6-mic-17x18-clear-trash-bags (This is a screenshot of where to click: http://screencast.com/t/8AvoktAcXtM) Is this content crawled by google? This is how it looks in our source code: view-source:http://www.plasticplace.com/gallon-size/20-30-gallon-trash-bags (start at line 913) Thanks!
On-Page Optimization | | EcomLkwd0 -
If I enbed the same video from my YouTube account on two different websites, will I get a duplicate content penalty?
I have a YouTube video I want to show my B2B and B2C customers. But I have a different websites for each. If I embed the video will I get duplicate content strike against me?
On-Page Optimization | | RoxBrock0 -
Disappearing Rel=Canonical Code
Hi, I've been getting a lot of rel=canonical warnings from seomoz. I went into the original pages and pasted in plain text the following code: link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"< (the > are reversed). After a few crawls I couldn't see any effect from posting the code. When I went and checked again, it didn't stay in the wysiwyg editor. It disappeared! We are using Drupal 6. Could someone tell me what code I should be pasting? Thanks!
On-Page Optimization | | OTSEO0 -
Would I be safe canonicalizing comments pages on the first page?
We are building comment pages for an article site that live on a separate URL from the article (I know this is not ideal, but it is necessary). Each comments page will have a summary of the article at the top. Would I be safe using the first page of comments as the canonical URL for all subsequent comment pages? Or could I get away with using the actual article page as the canonical URL for all comment pages?
On-Page Optimization | | BostonWright0 -
How do i get my on-page grade reports?
I've been signed up for a week now and still nothing in there? Do I need to set something up? thanks in advance! Fraser
On-Page Optimization | | vipgambler0 -
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 -
Is it possible to get good SEO results with small brochure websites?
Say I have a 5 page website with 300 words and 4 images on each page. No or little dynamic content. No blog. Is it still possible to get good SEO results in a site like this? what would be the best strategy? what challenges would I need to over come? or is it just too much of an up hill battle?
On-Page Optimization | | iSenseWebSolutions0