wordpress - Disable to add new files in some folder -
i need prevent new files added folder hosting. utilize wordpress , need disable add together new files folders. in need custom htaccess
? utilize code in wp-content
folder, need disable new file in, example, themes
folder or wp-include
folder.
order deny,allow deny <files ~ ".(xml|css|jpe?g|png|gif|js)$"> allow </files>
i find code block new files wp-include folder
# block include-only files. rewriteengine on rewritebase / rewriterule ^wp-admin/includes/ - [f,l] rewriterule !^wp-includes/ - [s=3] rewriterule ^wp-includes/[^/]+.php$ - [f,l] rewriterule ^wp-includes/js/tinymce/langs/.+.php - [f,l] rewriterule ^wp-includes/theme-compat/ - [f,l]
someone expain me lines? want block include new files in wp-include , subfolder. code that? thanks
wordpress .htaccess
No comments:
Post a Comment