August 20, 201511 yr Hi all. After looking over the WordPress documentation have I added correct security measures to my htaccess file? # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN Protect htaccess File <Files ~"^.*\.([Hh][Tt][Aa])"> order allow,deny deny from allow satisfy all </Files> # END Protect htaccess File # BEGIN Securing wp-includes <IfModule mod_rewrite.c> 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] </IfModule> # END Securing wp-includes # BEGIN Securing wp-config.php <Files wp-config.php> order allow,deny deny from all </Files> # END Securing wp-config.php
Create an account or sign in to comment