The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. Does Commented HTML Code Get Spidered?

    Does Commented HTML Code Get Spidered?

    On-Page / Site Optimization
    6 4 958
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lbohen
      lbohen last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • Eblan
        Eblan last edited by

        Crawlers ignore comment tags. They do not have any SEO impact.

        lbohen 1 Reply Last reply Reply Quote 1
        • lbohen
          lbohen @Eblan last edited by

          Does that mean the content between comment tags get spidered?

          Eblan 1 Reply Last reply Reply Quote 0
          • Eblan
            Eblan @lbohen last edited by

            It means the content between comment tags won't get spidered.

            I'm sorry if I wasn't clear enough on my previous comment.

            1 Reply Last reply Reply Quote 0
            • TakeshiYoung
              TakeshiYoung last edited by

              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.

              1 Reply Last reply Reply Quote 1
              • donford
                donford last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Google Map Marker not showing up when using HTML Embed Code
                  0
                  1
                  503

                • Meta Title in Google does not match the HTML meta title I have coded in a site
                  TheeDigital
                  TheeDigital
                  0
                  3
                  206

                • Can someone please help me to get rid of these 404: Errors from my HTML site?
                  ThompsonPaul
                  ThompsonPaul
                  0
                  4
                  442

                • Html and css errors - what do SE spiders do if they come across coding errors? Do they stop crawling the rest of the code below the error
                  pab1
                  pab1
                  0
                  3
                  511

                • CSS and Spiders
                  SEODinosaur
                  SEODinosaur
                  0
                  9
                  678

                • How do I do a 301 Redirect in IIS 7 from http://www.freightmonster.com/index.html to http://freightmonster.com/index.html when I don't have a physical page to redirect?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  4
                  1.0k

                • What is html text?
                  WilliamBay
                  WilliamBay
                  0
                  4
                  434

                • Comment Plugin
                  craven22
                  craven22
                  0
                  2
                  943

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy