Website speed is one of the first things someone notices when visiting your website. We understand this. This is why we have articles covering many ways to improve WordPress performance:
- Caching plugins like WP Super Cache and W3TC
- Cloudflare content delivery network (CDN)
- Site Health website scanner
- External performance scanners like GtMetrix.com
- Our Nginx-powered WordPress Hosting
- Our VPS Hosting with PHP-FPM
Another server-side method to reduce server resources: cookie-free domains. A cookieless subdomain separates website content that doesn’t change – e.g. media and CSS files – from sending unnecessary cookies to the server.
We recommend you create a cPanel backup before continuing. Then we’ll create a cookieless domain for WordPress.
- Log into cPanel.
- Create a subdomain – e.g. cdn, images, or static – with your wp-content directory as the document root.
Warning: You may need to use a different fully qualified domain name if your WordPress website has cookies valid across the entire second-level domain.
- Edit your wp-config.php file.
- Add the following to the bottom of the wp-config.php file:
After improving your WordPress performance, learn more about improving WordPress security.