mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Merge pull request #192 from greenphp/htaccess-and-robots-update
Updated robots.txt + added new htaccess files. by @greenphp
This commit is contained in:
commit
eb2e5320e4
16 changed files with 37 additions and 4 deletions
1
cache/.htaccess
vendored
Normal file
1
cache/.htaccess
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
deny from all
|
||||||
1
content/.htaccess
Normal file
1
content/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
deny from all
|
||||||
4
content/images/.htaccess
Normal file
4
content/images/.htaccess
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
Deny from all
|
||||||
|
<Files ~ "\.(jpg|png|gif)$">
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
23
robots.txt
23
robots.txt
|
|
@ -17,17 +17,32 @@
|
||||||
# http://www.sxw.org.uk/computing/robots/check.html
|
# http://www.sxw.org.uk/computing/robots/check.html
|
||||||
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
# Directories
|
|
||||||
|
# Disallow directories
|
||||||
Disallow: /config/
|
Disallow: /config/
|
||||||
Disallow: /system/
|
Disallow: /system/
|
||||||
Disallow: /themes/
|
Disallow: /themes/
|
||||||
Disallow: /vendor/
|
Disallow: /vendor/
|
||||||
Disallow: /cache/
|
Disallow: /cache/
|
||||||
# Files
|
|
||||||
|
# Disallow files
|
||||||
Disallow: /changelog.txt
|
Disallow: /changelog.txt
|
||||||
Disallow: /composer.json
|
Disallow: /composer.json
|
||||||
Disallow: /composer.lock
|
Disallow: /composer.lock
|
||||||
Disallow: /composer.phar
|
Disallow: /composer.phar
|
||||||
# Paths
|
|
||||||
|
# Disallow paths
|
||||||
Disallow: /search/
|
Disallow: /search/
|
||||||
Disallow: /admin/
|
Disallow: /admin/
|
||||||
|
|
||||||
|
# Allow themes
|
||||||
|
Allow: /themes/*/css/
|
||||||
|
Allow: /themes/*/images/
|
||||||
|
Allow: /themes/*/img/
|
||||||
|
Allow: /themes/*/js/
|
||||||
|
Allow: /themes/*/fonts/
|
||||||
|
|
||||||
|
# Allow content images
|
||||||
|
Allow: /content/images/*.jpg
|
||||||
|
Allow: /content/images/*.png
|
||||||
|
Allow: /content/images/*.gif
|
||||||
1
system/.htaccess
Normal file
1
system/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
deny from all
|
||||||
1
system/admin/editor/.htaccess
Normal file
1
system/admin/editor/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
system/resources/.htaccess
Normal file
1
system/resources/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/.htaccess
Normal file
1
themes/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
deny from all
|
||||||
1
themes/blog/css/.htaccess
Normal file
1
themes/blog/css/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/blog/fonts/.htaccess
Normal file
1
themes/blog/fonts/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/blog/images/.htaccess
Normal file
1
themes/blog/images/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/blog/js/.htaccess
Normal file
1
themes/blog/js/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/clean/css/.htaccess
Normal file
1
themes/clean/css/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/default/css/.htaccess
Normal file
1
themes/default/css/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/default/img/.htaccess
Normal file
1
themes/default/img/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
1
themes/logs/css/.htaccess
Normal file
1
themes/logs/css/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
allow from all
|
||||||
Loading…
Add table
Add a link
Reference in a new issue