Knowledge Base

How to optimize WordPress with the A2 Optimized for WordPress plugin

The A2 Optimized for WordPress plugin combines custom A2 Hosting settings and functionality from third-party plugins to provide speed and security optimizations for your WordPress site.

You can install the A2 Optimized for WordPress plugin using Softaculous. You can also install and configure the A2 Optimized for WordPress plugin manually if you already have an established WordPress site.

Installing the A2 Optimized for WordPress plugin using Softaculous

If you are installing a new WordPress site, you can easily install WordPress and the A2 Optimized for WordPress plugin at the same time using Softaculous. To do this, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Software/Services section of the cPanel home screen, click Softaculous. The Softaculous installer page appears.
  3. Under Top Scripts, click WordPress - A2 Optimized.
    Alternatively, you can use the navigation pane on the left side. To do this, click Blogs, and then click Wordpress - A2 Optimized.
  4. Click Install. The installation page appears.
  5. In the Choose Protocol list box, select the protocol.
    If you have an SSL certificate installed on your site, select https:// or https://www. If you do not have an SSL certificate installed on your site, select http:// or http://www.
  6. In the Choose Domain list box, select the domain for installation, or accept the default value.
  7. In the In Directory text box, type the directory where you want to install the application, or accept the default value.
    If you want your domain name to go directly to the application, make sure the In Directory text box is blank.
  8. In the Database Name text box, type the name of the database to create for the application, or accept the default value.
  9. In the Table Prefix text box, type the database table prefix, or accept the default value.
  10. In the Site Name text box, type the site name. By default, the site name appears in the title bar of users' web browsers when they visit your site.
  11. In the Site Description text box, type the site description. By default, the site description also appears in the title bar of users' web browsers when they visit your site.
  12. In the Admin Username text box, type the administrator username.
  13. In the Admin Password text box, type the administrator password.
    Make sure that you choose a strong password! The Softaculous installer provides a ranking for your password's strength, and turns green when the password is strong. Alternatively, you can click the Random Password icon icon next to the Admin Password text box, and Softaculous generates a strong, random password for you.
  14. In the Admin Email text box, type the site administrator e-mail address.
  15. In the Select Language list box, select the default language for the application.
  16. Click the Advanced Options icon icon to expand Advanced Options.
  17. If you do not want to receive e-mail notifications when application updates are available, select the Disable Update Notifications check box.
    A2 Hosting strongly recommends that you receive e-mail notifications when application updates are available. Keeping your site updated helps prevent unauthorized access attempts and data loss.
  18. To receive site configuration information after the installation is complete, type an e-mail address in the Email installation details to text box.
    The e-mail message includes important details about your installation, such as the administrative username, password, and login URL.
  19. Review the installation options and settings, and then click Install. When installation is complete, Softaculous provides information about the application's configuration. Softaculous installs WordPress and the A2 Optimized for WordPress plugin.
  20. Click the Administrative URL hyperlink, and then log in to WordPress using the username and password you specified in steps 13 and 14. Make sure that you also type the CAPTCHA correctly, or you will not be able to log in.
    To enhance security, the A2 Optimized for WordPress plugin changes the default WordPress administrative login URL to a random four-character sequence. The default WordPress administrative URL (wp-admin) does not work! When the WordPress Dashboard appears, there is a message at the top that reminds you to bookmark the login page URL so you can easily log in again.

Installing the A2 Optimized for WordPress plugin manually

If you already have an existing WordPress site, you can install the A2 Optimized for WordPress plugin manually. To do this, follow these steps:

  1. Log in to WordPress as the administrator.
  2. Under Dashboard, click Plugins, and then click Add New.
  3. In the Search Plugins text box, type a2 optimized and then press Enter.
  4. Locate the A2 Optimized WP plugin, and then click Install Now. WordPress installs the plugin.
  5. After the plugin is installed, click Activate Plugin. You are now ready to configure the plugin.
    When the A2 Optimized for WordPress plugin is activated, it prevents you from installing certain plugins that can cause compatibility problems. These plugins are:
    • wp-super-cache
    • wp-fastest-cache
    • wp-file-cache
    • better-wp-security
    • wordfence

    If you try to install one of these plugins while the A2 Optimized for WordPress plugin is activated, it will block installation and display the following message:

    The Plugin you are trying to install has been flagged as incompatible with A2 Optimized.

Configuring the A2 Optimized for WordPress plugin

When you install the A2 Optimized for WordPress plugin using Softaculous, all of the optimizations are enabled by default. When you manually install the A2 Optimized for WordPress plugin on an established WordPress site, you can selectively enable optimizations.

To configure the plugin or view its current settings, follow these steps:

  1. Under Dashboard, click A2 Optimized.
  2. Three tabs appear on the A2 Optimized page:
    • Optimization Status
    • Warnings
    • Advanced Optimizations
  3. The Optimization Status tab allows you to enable and disable specific optimizations:

    • To enable an optimization, click Enable.
    • To disable an optimization, click Disable.
    • To learn more about an optimization, click Learn More.
    When the Lock Editing of Plugins and Themes from the WP Admin security optimization is enabled, you cannot modify plugin or theme files by using the WordPress administration interface. To modify these files, you can use a text editor from the command line, or use one of the editors in the cPanel File Manager.
  4. The Warnings tab displays WordPress settings that may affect site performance or security. To address these issues, click Configure.
  5. The Advanced Optimizations tab contains three options:

    • The GTmetrix and P3 (Plugin Performance Profiler) options are for advanced troubleshooting. They should not be used during normal site operation, because they will slow down your site.
    • CloudFlare is a content delivery network that can increase your site's performance. For more information about what CloudFlare is and how to activate it, please see these articles.

Updating the A2 Optimized for WordPress plugin

The A2 Optimized for WordPress plugin updates itself automatically. You do not need to do anything to keep the plugin running at the newest version.

Removing the A2 Optimized for WordPress plugin

If you want to remove the A2 Optimized for WordPress plugin for any reason, follow these steps:

  1. Log in to WordPress as the administrator.
  2. Under Dashboard, click Plugins, and then click Installed Plugins.
  3. Under A2 Optimized, click Deactivate. WordPress deactivates the plugin.
  4. Under A2 Optimized, click Delete.
  5. Click Yes, Delete these files to confirm the deletion. WordPress removes the plugin.