Commit efe2f2b8 authored by dmorley's avatar dmorley

nofollow

parent e7b63d85
......@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog] and this project adheres to [Semantic
## [Unreleased]
### Added
### Changed
- Tell robots not to follow links to pods
### Deprecated
### Removed
### Fixed
......
......@@ -96,6 +96,7 @@ try {
}
setcookie('domain', $domain, Carbon::now()->addCentury()->timestamp);
header('X-Robots-Tag: nofollow');
header('Location: https://' . $domain);
} catch (\RedBeanPHP\RedException $e) {
die('Error in SQL query: ' . $e->getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment