This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File: wp-config.php | |
* | |
* 1. Disable post revisions | |
* 2. Set autosave interval | |
* 3. Set trash days | |
* 4. Increasing public memory | |
* 5. Increasing the administrative memory | |
* 6. WordPress cron timeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File: wp-config.php | |
* | |
* 1. X-Frame-Options Header in Wordpress | |
* 2. Cookie with HTTPOnly and Secure flag in Wordpress | |
* 3. Secure connection | |
* 4. Cleanup image edits | |
* 5. Disable plugin and theme update and installation | |
* 6. Disable the plugin and theme editor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File: wp-config.php | |
* | |
* 1. Prefer SSL usage for admin area | |
* 2. Check for https existence | |
* | |
*/ | |
/** wp-config.php / Prefer SSL usage for admin area */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File: wp-config.php | |
* | |
* 1. Changing the Site URL | |
* 2. Change "wp-content" folder name | |
* 3. Change "themes" folder name | |
* 4. Change "plugins" folder name | |
* 5. Change "mu-plugins" folder name | |
* 6. Change "uploads" folder name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File: wp-config.php | |
* | |
* Enable WordPress debug only for your IP address | |
* | |
* Once you know your IP address you can edit your wp-config.php file and edit the WP_DEBUG constant and replace it with this function and your IP address. | |
* | |
* NOTE: If you re-boot your router and have a dynamic IP address you will need to update your IP address in wp-config.php | |
*/ |