Skip to content

Commit

Permalink
Disallow a few more folders from spiders
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallinanga committed Nov 28, 2015
1 parent 1b12cfd commit e64ec63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/class-nanga-shared.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ public function empty_search( $query_vars ) {
}

public function robots( $output, $public ) {
$output .= "Disallow: /_files/\n";
$output .= "Disallow: /console/\n";
$output .= "Disallow: /newsletter/\n";
$output .= "Disallow: /vendor/\n";
$output .= "Disallow: /wp-includes/\n";

Expand Down

0 comments on commit e64ec63

Please sign in to comment.