A2 Optimized WP


This update fixes an important security issue. Please upgrade immediately

A2 Optimized is designed to make it quick and easy to speed up and secure your website by installing and configuring several well known, stable plugins with the click of a few buttons.

Have you ever tried to configure W3 Total cache and got lost in the mess of configuration pages?

A2 Optimized has broken it down into the most valuable optimizations and will automatically configure W3 Total Cache for what works best in most shared hosting environments.

Free Optimizations

Caching with W3 Total Cache:

  • Enable Page, Object and Database caching with W3 Total cache in one click.
  • Page Caching stores full copies of pages on the disk so that php code and database queries can be skipped by the web server.
  • Object Caching stores commonly used elements such as menus / widgets and forms on disk or in memory to speed up page rendering.
  • Database cache stores copies of common database queries on disk or in memcory to speed up page rendering.

Minify HTML Pages:

  • Auto Configure W3 Total Cache to remove excess white space and comments from html pages to compress their size.
  • This provides for minor imporvements in page load time.

Minify CSS Files:

  • Auto Configure W3 Total Cache to condense CSS files into non human-readable compressed files.
  • Combines multiple css files into a single download.
  • Can provide significant speed imporvements for page loads.

Minify JS Files:

  • Auto Configure W3 Total Cache to condense JavaScript files into non human-readable compressed files.
  • Combines multiple js files into a single download.
  • Can provide significant speed imporvements for page loads.

Gzip Compression:

  • Turns on gzip compression using W3 Total Cache.
  • Ensures that files are compressed before transfering them.
  • Can provide significant speed imporvements for page loads.
  • Reduces bandwidth required to serve web pages.

Deny Direct Access to Configuration Files and Comment Form:

  • Enables WordPress hardening rules in .htaccess to prevent browser access to certain files.
  • Prevents bots from submitting to comment forms.
  • Note: Turn this off if you use systems that post to the comment form without visiting the page.

Lock Editing of Plugins and Themes from the WP Admin:

  • Turns off the file editor in the wp-admin.
  • Prevents plugins and themes from being tampered with from the wp-admin.

A2 Hosting Exclusive Optimizations

These one-click optimizations are only available while hosted at A2 Hosting.

Login URL Change:

  • Move the login page from the default wp-login.php to a random URL.
  • Prevents bots from automatically brute-force attacking wp-login.php

reCAPTCHA on comments and login:

  • provides google reCAPTCHA on both the Login form and comments.
  • Prevents bots from automatically brute-force attacking wp-login.php
  • Prevents bots from automatically spamming comments.

Compress Images on Upload:

  • Enables and configures EWWW Image Optimizer.
  • Compresses images that are uploaded to save bandwidth.
  • Improves page load times: especially on sites with many images.

Turbo Web Hosting:

  • Take advantage of A2 Hosting’s Turbo Web Hosting platform.
  • Faster serving of static files.
  • Pre-compiled .htaccess files on the web server for imporved performance.
  • PHP OpCode cache enabled by default
  • Custom php engine that is faster than Fast-CGI and FPM

Memcached Database and Object Cache:

  • Database and Object cache in memory instead of on disk.
  • Secure and Faster Memcached using Unix socket files.
  • Significant improvement in page load times, especially on pages that can not use full page cache such as wp-admin.


  • A2 Optimized Optimizations Page
  • A2 Optimized Warnings Page
  • A2 Optimized Advanced Optimizations Page
  • About A2 Optimized Page


  1. Upload a2-optimized into the wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click ‘A2 Optimized’ in the admin menu
  4. Click buttons to enable optimizations
  5. Check out warnings that A2 Optimized has detected that may be slowing down your site
  6. Check out Advanced Optimizations that may help you identify plugins that may be slowing down your site.


How does A2 Optimized speed up my site

Caching is the fastest and easiest way to speed up a dynamic website.
A2 Optimized will install and configure W3 Total Cache with the click of a few buttons.

Does A2 Optimized make all sites faster

A2 Optimized will speed up most sites; however, not all plugins are compatible with W3 Total Cache.

If your site is slower after enabling caching in A2 Optimized, talk to a developer about finding better solutions for the plugins that you are using.

Can I use A2 Optimized with WordFence

A2 Optimized is compatible with most of the features in WordFence, however you should disable caching and logging in WordFence.

Why use W3 Total Cache over WP Super Cache

W3 Total Cache is the only plugin that handles all types of caching. It caches frequently used database queries, objects and pages. It also allows the use of Memcached as a storage engine for cache.

Can I use A2 Optimized on any host

Yes. A2 Optimized works on any host that supports WordPress. Yes. A2 Optimized works on any host that supports WordPress; however, A2 Hosting provides a few more tools for speeding up your site when hosted on an A2 Hosting server.


19 August 2020
This plug-in has a lot of good features built-in, but overall does a really bad job. Lately, I've had I/O and physical mem warnings. Took a look into it and it was the cron jobs causing it, but the A2 plugin actually changes the WP Cron jobs to server cron, which is a good thing because the WP Cron isn't so great, but if the server is limited to such a low memory that even it's own cron jobs cause problems, that isn't good. And they are only set to 1 per minute. Maybe this is more a hosting problem, but the plugin slows the admin down too. Everything takes way too long to load. Deactivate the A2 plugin and it works smooth. I guess I am going to have to look for an alternative. Just like having all the options in one plugin. I have fewer issues with clients that are on Gator. For the price of A2, it should be better.
21 July 2020
I'm new to A2 Hosting. I did my research and compared hosting companies for a new client in the UK. I've used SiteGround's SG Optimizer and found it to be very useful. I've used Bluehosts's optimization plugin - meh. Anyway I expected good things from A2's plugin (a revamped WTC.) I develop with DIVI. I know it's resource-intensive but it works on a budget hosting environment like o2switch (France) - a bit sluggish but no big deal. I had NOTHING but problems with what I was developing on the A2 host. I couldn't understand it and and thought maybe that I had really made a bad choice. I went through all their stuff and did implement some minor changes (change heartbeat frequency, move to manual, hourly cron, etc.). But when I got rid of A2 Optimized and went back to WP Super Cache, the difference was night and day. Now A2 seems like a FAST host and all the resource limits I had before are gone. I'm not typically cynical but it does make you wonder how they could bork up something so badly, unless somehow they really WERE trying to upsell you with this. So don't necessarily get rid of A2 but stay away from A2 Optimized.
7 July 2020
It really speeds up the website My website has remarkably speed up, this plugin is a really good one. I am very satisfied.
21 March 2020
I don't recommend to install this plugin for caching features. After activating and setting up the plugin the loading time of any page will increase up to minimum 10 seconds (even for the backend). Before that my site was loading within a few milliseconds maximum one second. Don't install this shit!
Read all 32 reviews

Contributors and Developers

“A2 Optimized WP” is open source software. The following people have contributed to this plugin.


Translate “A2 Optimized WP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change Log

  • Fixed an issue where server GZIP capabilities were not always detected

  • No longer count default themes on Warnings tab

  • Added Divi specific optimizations


  • All admin notices are now dismissable

  • Adjustments to Cloudflare detection

  • Fixed compatibility issue with X Theme

  • Added feature to regenerate wp-config salts

  • Added helpful information on extra plugins installed along with A2 Optimized on A2 Hosting accounts

  • Added option to block unauthorized XML-RPC calls

  • Added option to dequeue WooCommerce cart fragment calls

  • Wordfence is no longer marked as an incompatible plugin

  • Changed code to reduce notices for users with debug enabled

  • Removed P3 Profiler from list of optional plugins

  • Changed protect config files to an optional optimization

  • Fixed error with KB search

  • reCaptcha for comments enabled for mangaged hosting

  • Emails site admin if login URL changes


  • Settings page for custom reCaptcha options

  • Fixed issue with some plugins causing slowdowns on dashboard screen

  • Fixed issue with getting current user for some operations
  • Removed incorrect KB link

  • Clearer information when incompatible plugins are detected
  • Fixed issue with gzipping being enabled inadvertantly while changing other settings

  • Clearer information regarding W3 Total Cache upgrade
  • Fixed issue where sites installed in subdirectories may not function as expected


  • Updated reCAPTCHA to API v2
  • Better support and triage for unsupported versions of W3 Total Cache
  • Better support for mobile and tablet screen sizes on our optimizations page

  • Added plugin update notices to ensure users are aware of any important update details

  • Additional check for compatible W3TC
  • Added check to see if your server is already has compression enabled


  • Enable SSL caching by default


  • Revert use of PHP short arrays


  • Removed Clef and tested against WordPress 4.8


  • Added dmatteson as a plugin author


  • added namespace class to css to prevent collision with other plugins


  • minor bug fixes
  • check for PHP version >= 5.3


  • Move from SaaS to Full GPL