diff --git a/Changelog.md b/Changelog.md index 00e0df8..5c4511f 100644 --- a/Changelog.md +++ b/Changelog.md @@ -11,6 +11,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t ## Changed - Updated the [configuration guide](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php) to include count of how many settings we have + - Also send a `x-robots-tag: noindex, nofollow` HTTP header for the login page (Semrush Bot, you better obey this one) ## Fixed diff --git a/modules/page-login.php b/modules/page-login.php index 4f83659..a8fa580 100644 --- a/modules/page-login.php +++ b/modules/page-login.php @@ -43,6 +43,7 @@ register_module([ header("location: " . $_GET["returnto"]); } + header("x-robots-tag: noindex, nofollow"); page_renderer::add_header_html('');