WordPress

WordPress Installation

WordPress Migration

WordPress Developement

Tools

https://scanwp.net – Scan WordPress for plugins/theme installed

Errors

WordPress Attacks

WordPress Behind Reverse Proxy

Add the following code to wp-config.php to get WordPress work behind a reverse proxy

if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
    $_SERVER['HTTPS']='on';
}

Enable SSL

update wp_options set option_value="https://yourdomain.extn" where option_name="siteurl" or option_name="home";

Increase WordPress memory

Add the following to wp-config.php

define( 'WP_MEMORY_LIMIT', '256M' );

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *