mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
Send x-robots-tag: noindex,nofollow
with the login page
SemrushBot, you better obey this one
This commit is contained in:
parent
e0d5d72f08
commit
880c9e3796
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
- Updated the [configuration guide](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php) to include count of how many settings we have
|
- 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
|
## Fixed
|
||||||
|
|
|
@ -43,6 +43,7 @@ register_module([
|
||||||
header("location: " . $_GET["returnto"]);
|
header("location: " . $_GET["returnto"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header("x-robots-tag: noindex, nofollow");
|
||||||
page_renderer::add_header_html('<meta name="robots" content="noindex, nofollow" />');
|
page_renderer::add_header_html('<meta name="robots" content="noindex, nofollow" />');
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue