This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
kiduc
/
bibiuc.com
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
59
Wiki
Activity
Browse Source
Merge pull request
#192
from greenphp/htaccess-and-robots-update
Updated robots.txt + added new htaccess files. by
@greenphp
pull/255/head
Dan
10 years ago
parent
507dc19725
1d80860743
commit
eb2e5320e4
16 changed files
with
37 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
cache/.htaccess
+1
-0
content/.htaccess
+4
-0
content/images/.htaccess
+19
-4
robots.txt
+1
-0
system/.htaccess
+1
-0
system/admin/editor/.htaccess
+1
-0
system/resources/.htaccess
+1
-0
themes/.htaccess
+1
-0
themes/blog/css/.htaccess
+1
-0
themes/blog/fonts/.htaccess
+1
-0
themes/blog/images/.htaccess
+1
-0
themes/blog/js/.htaccess
+1
-0
themes/clean/css/.htaccess
+1
-0
themes/default/css/.htaccess
+1
-0
themes/default/img/.htaccess
+1
-0
themes/logs/css/.htaccess
+ 1
- 0
cache/.htaccess
View File
@ -0,0 +1 @@
deny
from
all
+ 1
- 0
content/.htaccess
View File
@ -0,0 +1 @@
deny
from
all
+ 4
- 0
content/images/.htaccess
View File
@ -0,0 +1,4 @@
Deny
from
all
<Files
~ "\.(jpg|png|gif)$"
>
Allow
from
all
</Files
>
+ 19
- 4
robots.txt
View File
@ -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
- 0
system/.htaccess
View File
@ -0,0 +1 @@
deny
from
all
+ 1
- 0
system/admin/editor/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
system/resources/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/.htaccess
View File
@ -0,0 +1 @@
deny
from
all
+ 1
- 0
themes/blog/css/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/blog/fonts/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/blog/images/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/blog/js/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/clean/css/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/default/css/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/default/img/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
+ 1
- 0
themes/logs/css/.htaccess
View File
@ -0,0 +1 @@
allow
from
all
Write
Preview
Loading…
Cancel
Save