diff options
-rwxr-xr-x | web/alert.cgi | 2 | ||||
-rwxr-xr-x | web/contact.cgi | 2 | ||||
-rwxr-xr-x | web/index.cgi | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/web/alert.cgi b/web/alert.cgi index b6d23b9f8..71249759e 100755 --- a/web/alert.cgi +++ b/web/alert.cgi @@ -64,7 +64,7 @@ EOF $out = alert_front_page($q); } - print Page::header($q, title => $title); + print Page::header($q, title => $title, robots => 'noindex,nofollow'); print $out; print Page::footer($q); } diff --git a/web/contact.cgi b/web/contact.cgi index 0b1a27c9f..fd0043d94 100755 --- a/web/contact.cgi +++ b/web/contact.cgi @@ -19,7 +19,7 @@ use mySociety::Random qw(random_bytes); # Main code for index.cgi sub main { my $q = shift; - print Page::header($q, title=>_('Contact Us'), context=>'contact'); + print Page::header($q, title=>_('Contact Us'), context=>'contact', robots => 'noindex,nofollow'); my $out = ''; if ($q->param('submit_form')) { $out = contact_submit($q); diff --git a/web/index.cgi b/web/index.cgi index 32b7de916..62ade26b5 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -760,7 +760,7 @@ EOF url_home => Cobrand::url($cobrand, '/', $q), submit_button => _('Submit') ); - return (Page::template_include('report-form', $q, Page::template_root($q), %vars)); + return (Page::template_include('report-form', $q, Page::template_root($q), %vars), robots => 'noindex,nofollow'); } sub display_location { @@ -889,7 +889,8 @@ sub display_location { ); my %params = ( - rss => [ _('Recent local problems, FixMyStreet'), "/rss/n/$easting,$northing" ] + rss => [ _('Recent local problems, FixMyStreet'), "/rss/n/$easting,$northing" ], + robots => 'index,nofollow', ); return (Page::template_include('map', $q, Page::template_root($q), %vars), %params); |