Wordpress Checklist: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: IT Knowledge]]
= Setting =
= Setting =
* Setting up Permalinks
* Setting up Permalinks
Line 47: Line 49:
   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.
Line 73: Line 82:
   means the file will not be accessible from the Internet.
   means the file will not be accessible from the Internet.
* Create secret keys
* Create secret keys
https://api.wordpress.org/secret-key/1.1/salt/
   define('AUTH_KEY', 'put your unique phrase here');
   define('AUTH_KEY', 'put your unique phrase here');
   define('SECURE_AUTH_KEY', 'put your unique phrase here');
   define('SECURE_AUTH_KEY', 'put your unique phrase here');