Added robots.txt
And allow it through the .htaccess
This commit is contained in:
parent
6d3f8a3da1
commit
d31da240c4
2 changed files with 5 additions and 0 deletions
|
@ -4,4 +4,7 @@ RewriteEngine On
|
|||
RewriteCond %{REQUEST_FILENAME} -f
|
||||
RewriteRule ^Themes/[^/]+/Assets/.+$ - [L]
|
||||
|
||||
# Allow access to the robots.txt file
|
||||
RewriteRule ^robots\.txt$ - [L]
|
||||
|
||||
RewriteRule ^(.+)$ index.php [L,QSA]
|
||||
|
|
2
src/robots.txt
Normal file
2
src/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /plugin/
|
Loading…
Reference in a new issue