May 20, 2014

How To Enable HTTP Keep-Alive In WordPress To Increase Page Speed

|
A quick guide on how to speed up by adding HTTP headers.

This is how to do it:

1. Log into your host account. (Bluehost, HostGator, etc).

2. Right click on .htaaccess file.

3. Click on Edit.

4. Paste this custom code below the line #END WordPress in .htaccess file.

<IfModule mod_headers.c>
Header set Connection keep-alive
</IfModule>


5. Click Save Changes.

That's how to enable keep-alive for faster page speed.

*Here is another tip on How To Remove Query Strings From Static Resources To Improve Page Speed.