Optimize WordPress with Cpanel

Optimizing WordPress is very important, WordPress is simply put rather heavy in terms of PHP built sites. SEO and speed to the two main key factors and I always emphasize this with my clients sites. There is however a simple quick optimization fix that anyone running Cpanel can apply to their site and yet so many people, in fact 9/10 site I have worked on have no enabled it.

Cpanel comes with optimize website found near the bottom under software/services.

optimize website

Select Optimize Website and a page like this will open. Simply select compress all content and save.

Enable Optimize Website Cpanel

Simple, I hope to encounter more sites with this enable as I work on many different sites each month.

Feel free to leave a comment below and don’t forget to sign up for simple optimization tips, or why not send me an email with your problems and Ill look for a solution.

Meet the Author

Matthew Horne

Matthew Horne is web developer who specializes in optimized development. He also builds custom solutions instead of reverting to plugins. Matthew Has a strong understanding of PHP, JavaScript, jQuery.

12 comments… add one
  • Ian Jun 8, 2012, 12:01 am

    Excellent thanks for the tip, I logged in just now and sure enough there was an option to optimize my websites!

    • Horne3754sg Jun 8, 2012, 12:32 am

      No problem, it’s one of those things I’ve come across a lot and found that it’s seldom used.

      • Campbell McArthur Feb 28, 2013, 6:57 pm

        Awesome post Matt! I have known about this feature for years but, Hostgator never supported MOD_DEFLATE on their Shared Hosting. Oddly enough, your article inspired me to revisit that situation and make some iquiries through GOOGLE search and low and behold, HostGator does indeed support MOD_DEFLATE on their Shared Hosting.

        At first I thought it was a typo but have called HG and had this confirmed through a JR Admin so all systems go.

        Thanks man, if it were not for reading this I would have never bothered.

        Cam

        • Matthew Horne Mar 1, 2013, 7:46 am

          They didn’t used to support it, some time ago though, but now they do, but other hosts that did, now don’t like bluehost. For those on shared hosting, an alternative is to get a CDN like Max CDN, as stated in my footer, its all I use. But it will also help those on Shared hosting to enable Gzip compression via the CDN.

  • Brock Jul 9, 2012, 1:24 am

    Hey,

    Thanks for the tip! How much of an effect does it actually have on load time and performance? And does it negatively effect anything?

    Thanks,
    Brock

    • Horne3754sg Jul 9, 2012, 1:31 am

      Hey thanks for the comment, it can have a dramatic improvement in some cases, as it compresses your content by adding some coding to your .htaccess, usually the one outside of your sites root, so it compresses all your scripts and content. To do a comparison you could test on gtmetrix and do a before and after.

      Side effects, so far I havn’t come across any major issues with it as the script that is added, has some variable parts for certain browsers that may not support gzip compression. The optimize website is simple using apache to compress, which is a mod that is installed on your server, if you have a dedicated server you can enable a variety of mods and this is just one them that they kindly allow shared hosting sites use.

      But anything that makes your sites overall size smaller is generally a good thing for your server, cpu, ram and the end user, ie, the people who visit your site as they dont have to load as much in terms of bit size.

      Hope this answers your question.

  • Mark Furman Nov 22, 2012, 2:40 pm

    Great tip for WordPress. Please note though that this is not enabled by default in all cPanel installations as it requires the server to have mod_deflate enabled on it and not all hosts enable this option by default. It appears that you use HostGator as your web host and they do enable this by default on all thier Shared, Reseller, and SEO servers.

    • Matthew Horne Nov 22, 2012, 2:46 pm

      Yes, some hosts dont allow it, mainly shared, but if you have VPS you can enable it via easy apache.

  • Shemul Sep 23, 2013, 7:46 pm

    My cpanel also missing it. By the way thanks for reminding.

    • Matthew Horne Sep 24, 2013, 6:49 am

      You can enable it by rebuilding Apache. Use Easy Apache and you will see an option for deflate.

      Also switch your ads to asynchronous ads. (Google now has async ads)

  • Jota May 26, 2014, 11:27 pm

    Broken images … 🙁

Leave a Comment