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
        • Our parent company has included their sitemap links in our robots.txt file - will that have an impact on the way our site is crawled?
          GlobeRunner
          GlobeRunner
          0
          2
          197

        • Meta robots or robot.txt file?
          Andy.Drinkwater
          Andy.Drinkwater
          0
          5
          152

        • What should I block with a robots.txt file?
          Travis-W
          Travis-W
          1
          3
          298

        • Will disallowing in robots.txt noindex a page?
          FranckNlemba
          FranckNlemba
          0
          6
          510

        • How to Disallow Tag Pages With Robot.txt
          monster99
          monster99
          0
          6
          4.0k

        • Robots.txt file - How to block thosands of pages when you don't have a folder path
          Klarke
          Klarke
          0
          4
          264

        • Could you use a robots.txt file to disalow a duplicate content page from being crawled?
          KyleChamp
          KyleChamp
          0
          11
          1.3k

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

        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