diff --git a/config/robots-txt.php b/config/robots-txt.php index 9fcb6d1d..264dea67 100644 --- a/config/robots-txt.php +++ b/config/robots-txt.php @@ -14,6 +14,16 @@ return [ 'sitemaps' => [ 'sitemap.xml' ] + ], + 'staging' => [ + 'paths' => [ + '*' => [ + 'disallow' => [ + '/' + ] + ] + ] ] + ] ]; diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index eb053628..00000000 --- a/public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: