You are here

robots.txt in Drupal 6

Same filename and directory in other branches
  1. 8 robots.txt
  2. 5 robots.txt
  3. 7 robots.txt
  4. 9 robots.txt
#
# robots.txt
#
# This file is to prevent the crawling and indexing of certain parts
# of your site by web crawlers and spiders run by sites like Yahoo!
# and Google. By telling these "robots" where not to go on your site,
# you save bandwidth and server resources.
#
# This file will be ignored unless it is at the root of your host:
# Used:    http://example.com/robots.txt
# Ignored: http://example.com/site/robots.txt
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/robotstxt.html
#
# For syntax checking, see:
# http://www.frobee.com/robots-txt-check

User-agent: *
Crawl-delay: 10
# Directories
Disallow: /includes/
Disallow: /misc/
Disallow: /modules/
Disallow: /profiles/
Disallow: /scripts/
Disallow: /themes/
# Files
Disallow: /CHANGELOG.txt
Disallow: /cron.php
Disallow: /INSTALL.mysql.txt
Disallow: /INSTALL.pgsql.txt
Disallow: /install.php
Disallow: /INSTALL.txt
Disallow: /LICENSE.txt
Disallow: /MAINTAINERS.txt
Disallow: /update.php
Disallow: /UPGRADE.txt
Disallow: /xmlrpc.php
# Paths (clean URLs)
Disallow: /admin/
Disallow: /comment/reply/
Disallow: /filter/tips/
Disallow: /logout/
Disallow: /node/add/
Disallow: /search/
Disallow: /user/register/
Disallow: /user/password/
Disallow: /user/login/
# Paths (no clean URLs)
Disallow: /?q=admin/
Disallow: /?q=comment/reply/
Disallow: /?q=filter/tips/
Disallow: /?q=logout/
Disallow: /?q=node/add/
Disallow: /?q=search/
Disallow: /?q=user/password/
Disallow: /?q=user/register/
Disallow: /?q=user/login/

File

robots.txt
View source
  1. #
  2. # robots.txt
  3. #
  4. # This file is to prevent the crawling and indexing of certain parts
  5. # of your site by web crawlers and spiders run by sites like Yahoo!
  6. # and Google. By telling these "robots" where not to go on your site,
  7. # you save bandwidth and server resources.
  8. #
  9. # This file will be ignored unless it is at the root of your host:
  10. # Used: http://example.com/robots.txt
  11. # Ignored: http://example.com/site/robots.txt
  12. #
  13. # For more information about the robots.txt standard, see:
  14. # http://www.robotstxt.org/robotstxt.html
  15. #
  16. # For syntax checking, see:
  17. # http://www.frobee.com/robots-txt-check
  18. User-agent: *
  19. Crawl-delay: 10
  20. # Directories
  21. Disallow: /includes/
  22. Disallow: /misc/
  23. Disallow: /modules/
  24. Disallow: /profiles/
  25. Disallow: /scripts/
  26. Disallow: /themes/
  27. # Files
  28. Disallow: /CHANGELOG.txt
  29. Disallow: /cron.php
  30. Disallow: /INSTALL.mysql.txt
  31. Disallow: /INSTALL.pgsql.txt
  32. Disallow: /install.php
  33. Disallow: /INSTALL.txt
  34. Disallow: /LICENSE.txt
  35. Disallow: /MAINTAINERS.txt
  36. Disallow: /update.php
  37. Disallow: /UPGRADE.txt
  38. Disallow: /xmlrpc.php
  39. # Paths (clean URLs)
  40. Disallow: /admin/
  41. Disallow: /comment/reply/
  42. Disallow: /filter/tips/
  43. Disallow: /logout/
  44. Disallow: /node/add/
  45. Disallow: /search/
  46. Disallow: /user/register/
  47. Disallow: /user/password/
  48. Disallow: /user/login/
  49. # Paths (no clean URLs)
  50. Disallow: /?q=admin/
  51. Disallow: /?q=comment/reply/
  52. Disallow: /?q=filter/tips/
  53. Disallow: /?q=logout/
  54. Disallow: /?q=node/add/
  55. Disallow: /?q=search/
  56. Disallow: /?q=user/password/
  57. Disallow: /?q=user/register/
  58. Disallow: /?q=user/login/