Robots.txt update + new htaccess for cache folder.

Updated robots.txt + new htaccess files.

I made the following changes for the robots.txt and .htaccess files.

# robots.txt updated
- Allow theme assets (CSS, JS, Images, Fonts) for SEO
- Allow folder with uploaded images (/content/images)

# .httaccess files added
- /content - Deny all
- /content/images - Allow only jpg|png|gif
- /cache - Deny all
- /system - Deny all
- /system/admin/editor - Allow all
- /system/resources - Allow all
- /themes - Deny all
- /themes/blog/css - Allow all
- /themes/blog/fonts - Allow all
- /themes/blog/images - Allow all
- /themes/blog/js - Allow all
- /themes/clean/css - Allow all
- /themes/default/css  - Allow all
- /themes\default\img - Allow all
- /themes\logs\css - Allow all
This commit is contained in:
Andreas 2015-08-24 16:02:46 +02:00
commit 80afb162d9
16 changed files with 35 additions and 4 deletions

1
content/.htaccess Normal file
View file

@ -0,0 +1 @@
deny from all

4
content/images/.htaccess Normal file
View file

@ -0,0 +1,4 @@
Deny from all
<Files ~ "\.(jpg|png|gif)$">
Allow from all
</Files>