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

  • Home
  • SEARCH
  • 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 599657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:31:19+00:00 2026-05-13T16:31:19+00:00

should i then do User-agent: * Disallow: / is it as simple as that?

  • 0

should i then do

User-agent: *

Disallow: /

is it as simple as that?
or will that not crawl the files in the root either?

basically that is what i am after – crawling all the files/pages in the root, but not any of the folders at all
or am i going to have to specify each folder explicitly.. ie

disallow: /admin

disallow: /this

.. etc

thanks

nat

  • 1 1 Answer
  • 2 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-13T16:31:19+00:00Added an answer on May 13, 2026 at 4:31 pm

    Your example will block all all the files in root.

    There isn’t a “standard” way to easily do what you want without specifying each folder explicitly.

    Some crawlers however do support extensions that will allow you to do pattern matching. You could disallow all bots that don’t support the pattern matching, but allow those that do.

    For example

    # disallow all robots
    User-agent: *
    Disallow: /
    
    # let google read html and files
    User-agent: Googlebot
    Allow: /*.html
    Allow: /*.pdf
    Disallow: /
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a button <a> that should toggle a drop-down Then it should also
Edit: After addressing some issues that may or may not have been causing problems,
We want to disallow from user-agents JavaScript files and CSS files and pictures, correct?
If I'm alreadu using jquery library on site then should i use origional sifr
http://www.w3.org/QA/Tools/Icons If my code is valid then Should i add logo to all my
If Book aggregates Chapter which in turn aggregates Page, then what should be the
Should you declare the getters/setters of the class inside the .h file and then
This macro should activate tabs in sequence from 1th to 5th and then again.
If yes then presentational elements would be helpful in this condition so should we
The title should say it all, then I can solidify 2 more ticks on

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.