Htaccess File

stuarteske/Unix-Shell-Scripts-and-Tools/master/stub-wordpress-wp-content.htaccess

<files ~ "^.*.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>

Order deny,allow
Deny from all
<Files ~ ".(xml|css|js|jpe?g|png|gif|pdf|docx|rtf|odf|zip|rar|ttf|woff|eot|svg)$">
Allow from all
</Files>

<files custom.php>
order deny,allow
allow from all
</files>
Exit mobile version