]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Ajout meta tags robots noindex,nofollow pour �viter indexation de la page de stats.
authoreldy <>
Sat, 7 Jun 2003 00:16:23 +0000 (00:16 +0000)
committereldy <>
Sat, 7 Jun 2003 00:16:23 +0000 (00:16 +0000)
wwwroot/cgi-bin/awstats.pl

index 7aa8057a134674e21f76fcf4a858a4ccf99cc035..6e09c6ee194c3fb431fa975b49c9dd7ce20a1d02 100644 (file)
@@ -559,6 +559,7 @@ sub html_head {
                else { print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n\n"; }
                print "<html lang='$Lang'>\n";
                print "<head>\n";
+               print "<meta name=\"robots\" content=\"noindex,nofollow\">\n";
                if ($PageCode) { print "<META HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=$PageCode\">\n"; }               # If not defined, iso-8859-1 is used in major countries
                #else { print "<META HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=iso-8859-1\">\n"; }
                #else { print "<meta HTTP-EQUIV=\"content-type\" CONTENT=\"text/html; charset=UTF-8\">\n"; }