Wordpress Checklist: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | Welcomeadmin (talk | contribs) No edit summary | ||
| (4 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 59: | Line 68: | ||
|    Desired: 400 |    Desired: 400 | ||
|    Fallback: 440, 444, 600, 640 |    Fallback: 440, 444, 600, 640 | ||
| * Disable  | * Disable directory browsing | ||
|    Add this line 'Options -Indexes' to your .htaccess file. |    Add this line 'Options -Indexes' to your .htaccess file. | ||
| * Delete readme.html and install.php | * Delete readme.html and install.php | ||
| 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'); | ||