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. Intermediate & Advanced SEO
    4. Negative impact on crawling after upload robots.txt file on HTTPS pages

    Negative impact on crawling after upload robots.txt file on HTTPS pages

    Intermediate & Advanced SEO
    2 2 892
    • 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.
    • CommercePundit
      CommercePundit last edited by

      I experienced negative impact on crawling after upload robots.txt file on HTTPS pages. You can find out both URLs as follow.

      Robots.txt File for HTTP: http://www.vistastores.com/robots.txt

      Robots.txt File for HTTPS: https://www.vistastores.com/robots.txt

      I have disallowed all crawlers for HTTPS pages with following syntax.

      User-agent: *
      Disallow: /

      Does it matter for that? If I have done any thing wrong so give me more idea to fix this issue.

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

        Hi CP,

        If you wish to use robots.txt to block crawlers, then your two robots.txt files should be as follows:

        For your http protocol (http://vistastores.com/robots.txt😞

        User-agent: *
        Allow: /
        

        For the https protocol (https://vistastores.com/robots.txt😞

        User-agent: *
        Disallow: /
        
        Personally, I prefer to use the noindex meta tag for page blocking because it is a more reliable way of ensuring that the pages are not indexed.
        (Never try to use both at once)
        
        This link explains the difference between the two:
        [Google Webmaster Tools Help.](http://www.google.com/support/webmasters/bin/answer.py?answer=35302 "Robots blocking crawlers")  
        
        Hope that helps,
        
        Sha
        
        ```You can use a robots.txt file to request that search engines remove your site and prevent robots from crawling it in the future. (It's important to note that if a robot discovers your site by other means - for example, by following a link to your URL from another site - your content may still appear in our index and our search results. To entirely prevent a page from being added to the Google index even if other sites link to it, use a [noindex meta tag](http://www.google.com/support/webmasters/bin/answer.py?answer=61050).)
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Set Robots.txt file to crawl my website at specific times
          Tenlo
          Tenlo
          0
          2
          50

        • Robots.txt Disallowed Pages and Still Indexed
          Igor.Go
          Igor.Go
          0
          3
          2.9k

        • Large robots.txt file
          ThomasHarvey
          ThomasHarvey
          0
          2
          513

        • Is our robots.txt file correct?
          Igal_Zeifman
          Igal_Zeifman
          0
          5
          175

        • Effect duration of robots.txt file.
          KeriMorgret
          KeriMorgret
          0
          4
          255

        • 202 error page set in robots.txt versus using crawl-able 404 error
          EricaMcGillivray
          EricaMcGillivray
          0
          3
          870

        • Old pages still crawled by SE returning 404s. Better to put 301 or block with robots.txt ?
          RyanKent
          RyanKent
          0
          2
          721

        • Category Pages - Canonical, Robots.txt, Changing Page Attributes
          Function5
          Function5
          0
          9
          1.1k

        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