Wordpress Checklist: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
1. Secure wp-includes by adding these lines to your .htaccess file. | 1. Secure wp-includes by adding these lines to your .htaccess file. | ||
2. Secure your wp-config.php by adding these lines to your .htaccess file. | 2. Secure your wp-config.php by adding these lines to your .htaccess file. | ||
* Protect .htaccess from unauthorized access | |||
Add this code to your .htaccess file: | |||
<files ~ "^.*\.([Hh][Tt][Aa])"> | |||
order allow,deny | |||
deny from all | |||
satisfy all | |||
</files> | |||
* Check that you have disabled file editing | * Check that you have disabled file editing | ||
Add the line `define(‘DISALLOW_FILE_EDIT’, true);` to your wp-config.php file. | Add the line `define(‘DISALLOW_FILE_EDIT’, true);` to your wp-config.php file. |