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 8403689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:24:38+00:00 2026-06-09T22:24:38+00:00

I have HTML-files in root and also in separate directory that are included via

  • 0

I have HTML-files in root and also in separate directory that are included via SSI into other pages.

  1. How to disallow opening this HTML-files by direct URLs but still leave them accessible for SSI in same moment? .htaccess or something else? Is it possible in general?

  2. How to disallow crawling this HTML-files for search engine bots? If I have them included in SSI on other pages but don’t have any direct links to them on site will search engine bots see them?

  • 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-06-09T22:24:40+00:00Added an answer on June 9, 2026 at 10:24 pm

    Create a robots.txt and add the following:

    User-agent: * 
    Disallow: /foldername-you-want-to-disallow/ # hides all files in this directory from bots
    Disallow: /hidden.html # hides a specific file in the root dir from bots
    Disallow: /foldername/hidden.html # hides a specific file in a subdir from bots
    

    OR

    You could create an .htaccess file and upload it into the directory you want to hide. Include
    the following:

    Options -Indexes
    
    Order deny,allow
    Deny from all
    

    You will still be able to call them via SSI but any http direct requests will be foiled.

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

Sidebar

Related Questions

I have some html files that I want to convert to text. I have
I have a bunch of html files that come with my app and are
I have IIS running under Windows XP. I have .html files with classic ASP
I have multiple HTML files which vary only by a little - a few
I have some html files and want to extract only lines with containing these
i have 20 HTML files ok ? i am going to shake the iphone
I have some html files with their own css. I want to use them
I have around 1000 html files in my local computer and I have to
I'm newbie at TYPO3, trying to install my custom template. I have HTML/CSS/IMAGES files,
Let's say that I have this website file root structure: frontend /home/username/public_html/ backend /home/username/public_html/admin/

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.