Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6318093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:36:06+00:00 2026-05-24T15:36:06+00:00

Good day, I’ve done some research looking for this answer, but haven’t had much

  • 0

Good day,

I’ve done some research looking for this answer, but haven’t had much luck. Hoping someone can help..

The situation is that a site I’m working on (built in ASP.net) which forces SSL on most of their pages has some folders (ie. site.com/dontindex )containing files that definitely shouldn’t be indexed by search engines. Google has links to these files in its index (ie. https://www.site.com/dontindex/file.pdf).

My issue is that I have created a robots.txt file to disallow those folders from indexing, but from what I’ve read, that isn’t going to prevent those files being indexed – as some of them might be referenced through secure pages. I’m thinking that only the non-secure pages are disallowed in this way. Q1) Is that even correct?

When I tested http://www.site.com/dontindex/file.pdf against the new robots file in Google Webmaster Tools, wit came back as “Blocked by line 5: Disallow: /dontindex/”, but when I tried https://www.site.com/dontindex/file.pdf it came back as “Not in domain”.

From what I can gather, I should have a second robots.txt file somewhere for the secure files/folders. I’ve read that if the site were running php, I could do some sort of a rewrite rule to cover this, but what to do in my ASP.net situation?? Q2) If it applies to me to have a second robots file (given that it’s an ASP.net site), where should I put this file?

Thank-you for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:36:06+00:00Added an answer on May 24, 2026 at 3:36 pm

    I think the problem is more to do with the Google webmaster tools, as http://site.com/robots.txt == https://site.com/robots.txt

    The not in domain error is I think because Google classes the 2 as separate sites. You need to add the https and http sites to check the robots file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day! I want to show all the pictures in the folder, but this
Good day, I'm trying some examples to classify text from the NLTK cookbook and
Good day. I try to add event to segment control, but it always take
Good day, I have a gen_server process which does some long-running state-updating tasks periodically
Good day everyone, this is one of those areas that is a little over
Good day stack people, I'm doing research for my self on how to combine
Good day! I've a model that is binded from JSON request, say like this:
Good day! I know there has been lots of posts for this kind of
Good day, I have one theoretical question. I have an application that run some
Good day. I'd like to ask a question. Why TextBox control Txt in this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.