AgileCDN can provide better performance and powerful protection for your WordPress site. To speed up your WordPress site with AgileCDN, you can follow the steps below.
Tips: All the static files and dynamic API or files are deployed in only one domain.
Step 1: Log in to AgileCDN dashboard.
Step 2: Create a CDN for your WordPress site with “Whole Site Acceleration” model. If you have created one before, please skip this step.
Step 3 : Find these source codes in {WORDPRESS_HOME}/wp-config.php:
Step 4: Add these codes before the source codes above:
define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']);
$_SERVER['HTTPS'] = 'ON'; // All with HTTPS