A2 Optimized WP


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 optimizations with a few quick clicks.

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

Free Optimizations

Disk Based Page Caching:
* 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 in memory to speed up page rendering.

Minify HTML Pages:

  • Remove excess white space and comments from html pages to compress their size.
  • This provides for minor improvements in page load time.

Minify Inline CSS and Javascript:

  • Further reduce the size of cached pages by optimizing inline CSS and Javascript.
  • Can provide significant speed improvements for page loads.

Gzip Compression:

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

Scheduled Database Optimizations:

If enabled, will periodically perform the following database operations:
* Remove expired transients
* Remove Trashed comments
* Remove spam comments
* Optimize all tables
* Remove post revisions (not enabled by default)
* Remove trashed posts (not enabled by default)

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.

Disable XML-RPC Services:

  • XML-RPC is a frequent target for bot attacks and can cause site slow down even when unsuccessful.
  • WordPress related services such as Jetpack are whitelisted and continue to work as expected.

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 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 improved performance.
  • PHP OpCode cache enabled by default
  • Custom php engine that is faster than Fast-CGI and FPM

Memcached Object Cache:

  • 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 disk based caching 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 and themes are compatible with all optimizations.

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. Also, is page caching in A2 Optimized is enabled, some WordFence features that required WordPress to be fully loaded may not trigger.

Can I use A2 Optimized on any host?

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.


8 de junio, 2021
I love how this plugin carries a lot of the basic needs to improve your site: minifies CSS and Javascript, page cache, PHP OpCode cache, Memcached Cache, removes white space, Page Caching, but my favorite is that it keeps your site more secure in changing your wp-admin - so hackers can't log in so easy! You can do this manually, but this plugin offers so many features for free! I like how it also has the GTmetrix option so you can see what areas to improve your site. When I run Google Page Speed and GTmetrix my site score improved! I also had a few questions regarding the setup of this plugin and their support team was great! Took the time to make sure I installed it correctly! I highly recommend you try this plugin! A FEW TIPS: Create a staging site and ALWAYS test NEW plugins here - so your "live site" is never affected, remember the plugins you have already installed can SOMETIMES CONFLICT with the NEW ONES you decide to add or even your theme, and the type of hosting you currently also gets affected with plugins. I use: Divi Theme, VPS Hosting, Cloudflare CDN, and have 9 plugins with this one! Hope this helps!
19 de agosto, 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.
Read all 35 reviews

Contributors & 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.


  • Better compatibility with LiteSpeed Cache

  • Optimize database tables was not being called correctly in some cases.

  • Fix for issue where TurboCache was not being correctly identified.


  • Added Scheduled Database Optimizations.
  • Added support for redis object caching on A2 Hosting.

  • Add information related to A2 Optimized to the Site Health panel.

  • Patches a cross-site-scripting vulnerablity. This is a recommended upgrade.

  • Small improvments to disk caching

  • Fixed issue with handling of some regex formulas in the advanced cache settings exclusion list
  • Additional checks when adding memcached server for object caching


  • Removed requirement for W3 Total Cache. A2 Optimized now contains it’s own caching engine. Don’t worry if you still want to use W3 Total Cache, it will continue to work as it always has with this and future updates.
  • Memcached object caching is now available on any host that supports it.
  • Small UI refresh.

  • 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