# # 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 # Prevent resource-heavy Drupal bootstraps by blocking non-SEO and query-based pages # Contents for Drupal 11 User-agent: * Crawl-delay: 10 # CSS, JS, Images Allow: /core/*.css$ Allow: /core/*.css? Allow: /core/*.js$ Allow: /core/*.js? Allow: /core/*.gif Allow: /core/*.jpg Allow: /core/*.jpeg Allow: /core/*.png Allow: /core/*.svg Allow: /core/*.ttf Allow: /core/*.woff Allow: /core/*.woff2 Allow: /profiles/*.css$ Allow: /profiles/*.css? Allow: /profiles/*.js$ Allow: /profiles/*.js? Allow: /profiles/*.gif Allow: /profiles/*.jpg Allow: /profiles/*.jpeg Allow: /profiles/*.png Allow: /profiles/*.svg Allow: /profiles/*.ttf Allow: /profiles/*.woff Allow: /profiles/*.woff2 Allow: /themes/*.css$ Allow: /themes/*.css? Allow: /themes/*.js$ Allow: /themes/*.js? Allow: /themes/*.gif Allow: /themes/*.jpg Allow: /themes/*.jpeg Allow: /themes/*.png Allow: /themes/*.svg Allow: /themes/*.ttf Allow: /themes/*.woff Allow: /themes/*.woff2 Allow: /modules/*.css$ Allow: /modules/*.css? Allow: /modules/*.js$ Allow: /modules/*.js? Allow: /modules/*.gif Allow: /modules/*.jpg Allow: /modules/*.jpeg Allow: /modules/*.png Allow: /modules/*.svg Allow: /modules/*.ttf Allow: /modules/*.woff Allow: /modules/*.woff2 # Directories Disallow: /core/ Disallow: /profiles/ Disallow: /modules/ Disallow: /scripts/ Disallow: /themes/ # Files Disallow: /README.md Disallow: /web.config Disallow: /INSTALL.txt Disallow: /update.php Disallow: /composer/Metapackage/README.txt Disallow: /composer/Plugin/ProjectMessage/README.md Disallow: /composer/Plugin/Scaffold/README.md Disallow: /composer/Plugin/VendorHardening/README.txt Disallow: /composer/Template/README.txt Disallow: /modules/README.txt Disallow: /sites/README.txt Disallow: /themes/README.txt # Paths (clean URLs) Disallow: /admin/ Disallow: /comment/reply/ Disallow: /filter/tips Disallow: /node/add/ Disallow: /search/ Disallow: /user/register Disallow: /user/password Disallow: /user/login Disallow: /user/logout Disallow: /media/oembed Disallow: /*/media/oembed Disallow: /jsonapi/ Disallow: /graphql/ Disallow: /api/rest # Paths (no clean URLs) Disallow: /index.php/admin/ Disallow: /index.php/comment/reply/ Disallow: /index.php/filter/tips Disallow: /index.php/node/add/ Disallow: /index.php/search/ Disallow: /index.php/user/password Disallow: /index.php/user/register Disallow: /index.php/user/login Disallow: /index.php/user/logout Disallow: /index.php/media/oembed Disallow: /index.php/*/media/oembed Disallow: /index.php/jsonapi/ Disallow: /index.php/graphql/ Disallow: /index.php/api/rest # Prevent crawlers from indexing search results or query-based pages Disallow: /brisbane/search-results Disallow: /sydney/search-results Disallow: /goldcoast/search-results Disallow: /*?keywords= Disallow: /*?q= # Sitemaps Sitemap: https://www.star.com.au/sitemap.xml # These aren’t Drupal routes but are frequently hit by malicious or clueless bots — blocking them reduces 404 bootstraps. Disallow: /feed Disallow: /rss Disallow: /rss.xml Disallow: /atom.xml Disallow: /phpmyadmin Disallow: /wp-login.php Disallow: /wp-admin/ Disallow: /sitemap-api.xml # Prevent search engines from crawling endless URL variations or tracking params Disallow: /*?utm_ Disallow: /*?fbclid= Disallow: /*?_gl= Disallow: /*?_gcl_aw= Disallow: /*?_gcl_dc= Disallow: /*?_gcl_au= Disallow: /*?_gac= Disallow: /*?gad_source= Disallow: /*?gad_campaignid= Disallow: /*?gbraid= # Block all bots from custom REST APIs Disallow: /api/rest/ Disallow: /*/api/rest/ Disallow: /sydney/api/rest/ Disallow: /brisbane/api/rest/ Disallow: /goldcoast/api/rest/ Disallow: /api/rest/*?* Disallow: /sydney/api/rest/*?* Disallow: /brisbane/api/rest/*?* Disallow: /goldcoast/api/rest/*?*