mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
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:
parent
b2aef582f5
commit
80afb162d9
16 changed files with 35 additions and 4 deletions
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue