Skip to content

Commit e957716

Browse files
author
Matt Anderson
committed
Update .htaccess
1 parent 3b85e6d commit e957716

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ RewriteRule ^(index.php)?$ /pocketmine.php
1111
RewriteRule ^pg/viewSrc\.php/(.*)$ /pg/viewSrc.php?path=$1
1212
RewriteRule ^pg/viewSrc/(.*)$ /pg/viewSrc.php?path=$1
1313
RewriteRule ^(pg/([^\.]+)(\.[a-z]+))/.*$ /$1
14+
RewriteCond %{REQUEST_URI} !/robots\.txt$ [nocase]
15+
RewriteRule \.txt$ - [forbidden,last]
1416

0 commit comments

Comments
 (0)