robots.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. User-agent: *
  16. # CSS, JS, Images
  17. Allow: /core/*.css$
  18. Allow: /core/*.css?
  19. Allow: /core/*.js$
  20. Allow: /core/*.js?
  21. Allow: /core/*.gif
  22. Allow: /core/*.jpg
  23. Allow: /core/*.jpeg
  24. Allow: /core/*.png
  25. Allow: /core/*.svg
  26. Allow: /profiles/*.css$
  27. Allow: /profiles/*.css?
  28. Allow: /profiles/*.js$
  29. Allow: /profiles/*.js?
  30. Allow: /profiles/*.gif
  31. Allow: /profiles/*.jpg
  32. Allow: /profiles/*.jpeg
  33. Allow: /profiles/*.png
  34. Allow: /profiles/*.svg
  35. # Directories
  36. Disallow: /core/
  37. Disallow: /profiles/
  38. # Files
  39. Disallow: /README.md
  40. Disallow: /composer/Metapackage/README.txt
  41. Disallow: /composer/Plugin/ProjectMessage/README.md
  42. Disallow: /composer/Plugin/Scaffold/README.md
  43. Disallow: /composer/Plugin/VendorHardening/README.txt
  44. Disallow: /composer/Template/README.txt
  45. Disallow: /modules/README.txt
  46. Disallow: /sites/README.txt
  47. Disallow: /themes/README.txt
  48. Disallow: /web.config
  49. # Paths (clean URLs)
  50. Disallow: /admin/
  51. Disallow: /comment/reply/
  52. Disallow: /filter/tips
  53. Disallow: /node/add/
  54. Disallow: /search/
  55. Disallow: /user/register
  56. Disallow: /user/password
  57. Disallow: /user/login
  58. Disallow: /user/logout
  59. Disallow: /media/oembed
  60. Disallow: /*/media/oembed
  61. # Paths (no clean URLs)
  62. Disallow: /index.php/admin/
  63. Disallow: /index.php/comment/reply/
  64. Disallow: /index.php/filter/tips
  65. Disallow: /index.php/node/add/
  66. Disallow: /index.php/search/
  67. Disallow: /index.php/user/password
  68. Disallow: /index.php/user/register
  69. Disallow: /index.php/user/login
  70. Disallow: /index.php/user/logout
  71. Disallow: /index.php/media/oembed
  72. Disallow: /index.php/*/media/oembed