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.
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
-
How get rid of 403 crawl error?
My wordpress website has 162 crawl 403 errors. Based on what I read it means that the server is denying crawlers to access the pages. The pages itself will load so guessing it's just an issue with crawlers only. How do I go about fixing this issue?
On-Page Optimization | | emrekeserr30 -
Paginated URLs are getting Indexed
Hi, For ex: - My site is www.abc.com and Its paginated URLs for www.abc.com/jobs-in-delhi are in the format of : www.abc.com/jobs-in-delhi-1, www.abc.com/jobs-in-delhi-2 and vice versa also i have used pagination tags rel=next and rel=prev. My concern is all the paginated URLs are getting indexed so is their any disadvantage if these URLs are getting indexed as somewhere i have read that link juice may get distributed in case of pagination. isn't it good to use Noindex, Follow so that we can make the Google to understand that paginated page are not so much important and that should not be ranked.
On-Page Optimization | | vivekrathore0 -
Help required to get the right landing page ranking
Hi, I've taken on a new ski client who wants to rank on page 1 on google.co.uk for [ski instructor courses]. When I first put that keyword into Moz rank tracker the landing page http://www.snowrehab.com/ski-instructor-courses/revelstoke-12-week-csia-level-1-&-2.html came up and it was ~ #30 Instead we wanted http://www.snowrehab.com/ski-instructor-courses to rank and I've optimised the copy (perhaps over optimised?) and have been redirecting & building links to that page. When I check in the SERPs (as unpersonalised as I can get) that new page appears to be ranking ~ 20 and the old page is nowhere to be seen. So far so good. However in the rank tracker Moz says the new page (exact URL) isn't ranking (not in top 50) and that when I put in 'entire subdomain' that the old page still comes up (and has improved to ~ 25). Any help / advice really appreciated! I want to prove to the client the rankings have improved / work I've been doing has helped!
On-Page Optimization | | richardpatey0 -
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 -
How much SEO value does a fashion site get from bolting text onto the bottom of home page? Does the value compensate for cluttering up a page focused on an iconic image?
Getting ready to launch a completely redesigned site for a fashion designer. Since it is a fashion site, visitors do not need text to describe what the site is about., We are weighing three options: 1) clean design with no text (just images and navigational links), 2) bolting on a couple of sentences of text at the bottom of the page to signal keyword terms to the search engines, 3) following the lead of the top ranking site in the category and adding lots of text to the bottom of the page. Do the SEO benefits justify cluttering up the design by bolting text onto the bottom of the home page, and if so, how many characters of text seem to be the minimum to be effective?
On-Page Optimization | | RandyP0 -
I have home tab in 2 menu's which calls the same hompage article. How do I get over this
I am getting duplicate content for this article. I need 'home' tab on two menus.
On-Page Optimization | | rajendraksh0 -
I have 2 canonical links. Must get rid of one?
On my wordpress blog, i have 2 canonical links for every single post, like this: One is generated by wordpress theme: rel='canonical' href='http://site.com/article-title/' /> The other one is generated by AllinOne seo pack: <link rel="<a class="attribute-value">canonical</a>" content="<a class="attribute-value">http://site.com/article-title/</a>" /> I tried to remove one of them, but if i uncheck from AllinOne, the source code is the same. Also, on-page analysis from SeoMoz tells me that i need only one canonical link. I don't have errors in Google Webmater Tools. What should I do?
On-Page Optimization | | Vladone800 -
Getting page cached
I am reworking some content that is deep in my site. What is the best way for google to find it? Some of the pages were cached about 3 weeks ago, but I don't want to wait too long to get them to see the new content (and links).
On-Page Optimization | | azguy0