It appears the most correct and most supported solution across all web crawlers is something like the following although allowing(allowing access to *.css
and *.js
files in some folders e.g.the /bin
, /cache
, /installation
, /language
, /logs
, and /installationtmp
folders and possibly some of the other folders makes nolittle sense):
User-agent: *
Allow: /administrator/*.css
Allow: /administrator/*.js
Disallow: /administrator/
Allow: /bin/*.css
Allow: /bin/*.js
Disallow: /bin/
Allow: /cache/*.css
Allow: /cache/*.js
Disallow: /cache/
Allow: /cli/*.css
Allow: /cli/*.js
Disallow: /cli/
Allow: /components/*.css
Allow: /components/*.js
Disallow: /components/
Allow: /includes/*.css
Allow: /includes/*.js
Disallow: /includes/
Allow: /installation/*.css
Allow: /installation/*.js
Disallow: /installation/
Allow: /language/*.css
Allow: /language/*.js
Disallow: /language/
Allow: /layouts/*.css
Allow: /layouts/*.js
Disallow: /layouts/
Allow: /libraries/*.css
Allow: /libraries/*.js
Disallow: /libraries/
Allow: /logs/*.css
Allow: /logs/*.js
Disallow: /logs/
Allow: /modules/*.css
Allow: /modules/*.js
Disallow: /modules/
Allow: /plugins/*.css
Allow: /plugins/*.js
Disallow: /plugins/
Allow: /tmp/*.css
Allow: /tmp/*.js
Disallow: /tmp/