Active
Project:
Boost
Version:
6.x-1.18
Component:
Expiration logic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2010 at 04:26 UTC
Updated:
17 Dec 2010 at 08:46 UTC
I just installed Boost and then went to the status report where I was greeted with the following warning message:
"Disallow: /boost_stats.php" entry missing in robots.txt
Your robots.txt file does not contain "Disallow: /boost_stats.php". This is needed in order to prevent the output of this from accidentally getting indexed by search engines.
Curious, I checked my robots.txt (which is actually dev_robots.txt using Rewrite for a multi-site installation) and it contains the following entry:
# This example indicates that no robots should visit this site further:
# go away
User-agent: *
Disallow: /
In my understanding, then no pages on the site should be indexed so I shouldn't need a specific entry for the boost_stats.php. My suggestion is to not display the warning if we have the specific recommend entry or the Disallow: / entry.
Comments
Comment #1
Georgii commentedFrom the search engines perspective you are right, "Disallow: /" is enough to disallow indexing of the entire web-site.
However,if you look into the boost code
you will see that it searches for the exact 'Disallow: ' . $base_path . 'boost_stats.php' line inside.
Have you tried adding this line to your robots.txt?