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
-
400-499 http status code
Hi there, I noticed in Bing Webmaster Tools that we get the following for the home page.These pages have 400-499 http status code. Ensuring http status 200 might help improve SERP performance and gain user traffic.I haven't seen this before, nothing comes up in Moz or Google Webmaster Tools about it.Is it worth spending time on resolving the issue, I don't see how it affects us as the page loads up perfectly but I don't understand the error.The error shows up for our home page, https : // wwww domainname comWhen checking here we get green ticks for everything sslshopper.com/ssl-checker.html
On-Page Optimization | | IvanaDaulay0 -
How to get stars in my search results?
Is it possible for me to take my Google reviews and show them under my homepage as stars when my page is shown in search results. I provide a service, so I don't have separate product reviews. My homepage is what ranks most in the searches I target. If this is possible, what is the best way to do it technically? I have a wordpress site. Thank you in advance!
On-Page Optimization | | CalicoKitty20001 -
Where does Google get its meta descriptions from?
We have a new client and they don't have meta descriptions yet. However, Google has assigned descriptions for them now appearing on the SERPs. The problem is that Google added a phone number that's totally not the client's and goes to a different unrelated business. Our plan is to update the meta to reflect the correct information, however, we're just perplexed as to how Google came up with the incorrect phone number. Where does it get its information from? The page currently has all the correct phone number, hours, and content. I've read that Google sometimes also doesn't recognise our meta descriptions if it thinks they could serve up a better one. My next question is, what if Google insists on showing the incorrect phone number. Is there a way we can fix this? Thanks!
On-Page Optimization | | nhhernandez2 -
Is Disqus as good for SEO as a built in comment system on your website?
Disqus is a simple tool you can use to easily get comments up and running on your website. Does it have the same value as a built in comment feature such as a Wordpress blog or does Google not attribute the Disqus comments to the websites content as it would for Wordpress?
On-Page Optimization | | Trellis0 -
How do I get rid of crawl errors?
I recently revamped all my category pages to make them Google friendly. I did a lot of keyword research and ended up deleting categories and renaming categories. Now Google Webmasters is showing a ton of 404 errors. How can I get rid of them? Do I have to remove the URL one by one with Google Webmasters? Is it something that won't hurt my rankings and will go away in time?
On-Page Optimization | | dealblogger0 -
What is html text?
I am using the "page attributes" tool for a guideline for what I am filling in on each page of my website. I feel like I've done my homework on this, but I can't figure out what "html text" is. URL Page Title Meta Description Meta Keywords H1 H2 **HTML Text ** ... not sure what to put here, how long it should be, what it's purpose is, etc. Any SEOMoz links helping me figure that out? I'm not finding it in the "Basics of Search Engine Design" article posted here on SEOMoz.
On-Page Optimization | | amandahx20 -
4XX comments/feed/
I have an error in my SEOMoz crawl report is a 4XX client error on two of my websites, in both cases the error is coming from the link on my wordpress blog which is http://www.techelectricity.com/blog/comments/feed/ and http://blog.rangeroffroad.com/comments/feed/ (comments/feed/ is always the problem) Should I just ignore this error because it's supposed to open your RSS reader and not a link, or is this really an error I should address? thanks!!
On-Page Optimization | | texmeix0 -
Comment Plugin
We are set to relaunch our site on wordpress and will be creating a traditional blog section in the process. With doing so, we want to allow commenting on our blog; however, we are trying to find the best to accomplish our main goals of 1) increasing SEO and 2) creating a conversation hub that will refresh on page content I have looked toward the Facebook comment plugin; however, it doesnt add to the pages code (essentially seems that all comment posts are hidden in javascript). This does little to accomplish our goal of refreshing page content, but it does allow users an easy and seamless way to add to the conversation is a useful tool to get a mention on social channels. The thing we do like about more traditional plugins is 1) the ability to post the comment to the html so we can increase the refresh rate of page content and 2) ability to block IPs since we will likely allow comments to be open instead of requiring approval first (we want ppl to add to the conversation in real time to motivate more back and forth) so, with all that said, just looking to get opinions on the best comment plugins available to achieve our main goals of increasing our content SEO and refreshing page content by allowing seamless, user friendly commenting features.
On-Page Optimization | | GreenDot0