Featured Video: Setup an SSL Site with Managed WordPress

There was once a time on the Internet where there were many valid reasons to avoid using an SSL all the time. For example, using an SSL sometimes meant your website isn’t indexed as thoroughly. Or maybe certain types of caching were broke.

It’s 2017 now though and those days are long since passed. Almost any reason to not use an SSL on your site has been changed or fixed. In this Knowledge Base article we feature a video provided by Chris Lema to show how quick you can setup an SSL on Managed WordPress.

 In just under 2 minutes Chris shows that you can login to your Managed WordPress, create a new WordPress site, and get the SSL certificate setup! Doing the same thing manually could take up to a few hours. There’s no doubt that Managed WordPress makes hosting your WordPress securely quick and simple.

To learn more, or signup, take a look on our Managed WordPress page.

Featured Video: Liquid Web Managed WordPress and PHP 7

There’s no doubt that PHP 7 is a lot faster and more efficient than PHP 5.x versions. The reason it’s provides better performance is because PHP 7.x underwent massive internal changes. With such massive changes something has to be too good to be true, right? No not really, but there is something you should know before updating to PHP 7.
In this Knowledge Base article we feature a video provided by Chris Lema. Chris shows how the Managed WordPress Platform makes upgrading to PHP 7 simple and quick!

Overall, almost every website and application will benefit running on PHP 7. Sounds good, but it’s not always that simple! With big changes comes some breaking changes, so not everyones code is ready for the update as is. That’s why our Managed WordPress product includes a compatibility checking feature to ensure your WordPress and plugins are fully compatible with PHP 7.X before updating!

To learn more, or signup, take a look on our Managed WordPress page.

Featured Video: Liquid Web Managed WordPress and Image Compression

The key to running a successful blog or website is having great content and making it easy for your users to find what they need. Part of providing great blog content usually involves using images and graphics to enhance your articles, posts and pages. Doing so will provide your readers with visual context and can help break up large blocks of text. Using lots of visual elements and images isn’t without its trade-off though.

The more HD photos you use, the more data a user has to download when reading your articles. This can mean longer load times for users, and higher disk and bandwidth usage for your server. That’s why you should always optimize your website’s images since long page loads can cost you views. In this featured video Chris Lema shows how our Managed WordPress improves this with a default plugin.

Website performance is a big deal and we know you care about keeping your site fast. The most common reason for a slow site is caused by uploading full size HD images. So to improve your WordPress sites performance we’re building our own image compression solution. Since building our own solution will take some time and we don’t want you to wait, so we’ve loaded the Compress JPEG & PNG Images plugin for you.

Normally optimizing the first set of images is free and you pay a small fee for images after that, but you wont! We’ve partnered directly with TInyPNG and Liquid Web will be covering that cost so you can use this solution until we complete our own.

To learn more, or signup, take a look on our Managed WordPress page.

Featured Video: Liquid Web Managed WordPress Visual Comparisons Feature

In this Knowledge Base article, we feature a video provided by Chris Lema to introduce the Managed WordPress Visual Comparison feature. If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

What if there was another way? A better way? Chris knows there is and we’re excited to show you what we’ve come up with.

Using our Managed WordPress Platforms Visual Comparison feature we can automatically test and update your plugins for you. This creates an internal only staging environment, updates the plugins one by one and compares the changes. The Visual Comparison feature will only update plugins that do not cause a visual difference on your live site.

When you review the Visual Comparison report for the site you will see the plugins we updated automatically and exactly why we didn’t update others. You can quickly determine the potential issues a plugin update will cause, allowing you to more easily take control of your WordPress site’s updates.

The best part is that with Visual Comparison enabled we will run the update checks and comparisons nightly to ensure all of your plugins stay up to date! It’s that simple, no more compromise between security and site stability.

To learn more, or signup, take a look on our Managed WordPress page.

Logging Into Managed WordPress Dashboard

Note: The instructions in this tutorial are for the Managed WordPress Dashboard client, these instructions do not apply if you have a Liquid Web Managed WordPress Server Optimized Template account.

Logging Into Your Manged WordPress Dashboard

You can log into your Managed WordPress Dashboard account from your Liquid Web account.

  1. Once logged in to your Liquid Web account, click the [+] next to your Managed WordPress server to expand the section.
  2. This will open a login section for your Managed WordPress Dashboard website.
  3. Click Login and you will be directed to your home page using the credentials sent to you via email when your Managed WordPress Dashboard service was purchased.

Log In thru Your Managed WordPress Dashboard

  1. In your browser, enter http://app.yourdomain.com. This will direct you to the login page for your Managed WordPress Dashboard home page.
    Note: In this tutorial yourdomain is an example, please enter the actual domain name for the site you are trying to access.

  2. Enter the login credentials which were emailed to you when your Managed WordPress Dashboard was purchased. Click Login.

How To Restore WordPress Optimized Template Backups

Pre-Flight Check

  • This article applies specifically to Liquid Web’s WordPress Optimized Template servers.
  • Restoring a site from backup will completely overwrite all of its existing content (both the files and the database). If you are not completely certain that the existing files will no longer be needed, you may wish to back up the database and download the database backup and site files locally using SFTP with a client such as FileZilla.

WordPress Optimized Template sites installed via the Sites tab in Manage automatically are backed up each day, with the server retaining the 10 most recent backups. You can easily restore any site from an available backup in the Sites dashboard in Manage.

Step #1: Open the site in the Sites dashboard

Click on the [+] next to the domain name to expand the window, then select the desired restore point from the Automatic Backups section.

Select A Restore Point

Step #2: Restore the Site

  1. After clicking on the radio button next to the desired restore point, click the Restore button to restore the site. A confirmation window will pop up to remind you that you will be overwriting the existing site with the contents of the backup. Any changes made to the site since the chosen backup was made (comments, posts, etc.) will be completely overwritten and can not be recovered. If you wish to proceed with restoring the site, click the Restore WordPress Domain button.
    If you are not completely certain that the existing files will no longer be needed, you may wish to back up the database and download the database backup and site files locally using SFTP with a client such as FileZilla.

    Confirm the Restore

  2. The restoration process will begin, and you will see a banner at the top of the page alerting you that the process is under way. The time it will take to complete depends entirely on the size of the site directory and database.Restore Complete


Using WP-CLI With Your WordPress Optimized Template Site

Using the Command Line Tools

Liquid Web’s WordPress Optimized Template servers come with a pre-installed set of command-line tools designed to simplify common site maintenance tasks. WP-CLI (WordPress Command Line Interface) can be accessed via SSH, and allows you to do nearly anything that can be done from within the WordPress admin interface.

Among many other things, WP-CLI can be used to:

  • create and modify users and their roles
  • install and activate or deactivate plugins
  • perform basic database maintenance tasks
  • manage cron jobs
  • manage rewrite rules

For the full list of commands, visit the official documentation.

WP-CLI always should be run as the site owner, and always should be run from within the site’s installation directory. For the following examples, I have connected to the server via SSH using the WordPress admin credentials for examplewordpresssite.com, verified my current working directory with the command “pwd”, and then changed directory into the site’s document root with the command “cd”, running “pwd” once again to confirm that I am in the document root.

[examplesiteuser@wphost]# pwd
[examplesiteuser@wphost]# cd public_html
[examplesiteuser@wphost ~/public_html]# pwd

Create a New User and Assign a Role

In this example, we’re going to create a new user named “sample”, assign them the role of Editor on the site, and email them their credentials (a randomly-generated password will be assigned automatically, and the email is sent to their specified address with a link to reset it.):

wp user create sample sample@examplewordpresssite.com --role=editor --send-email

Breaking down this command:

  • wp invokes WP-CLI
  • user create creates the new user
  • sample is the name we chose for the new user
  • sample@examplewordpresssite.com is the new user’s email address
  • –role=editor assigns the role of Editor to the new user
  • –send-email instructs WordPress to email the user’s credentials, and a link to change their password, to the new user’s email address

Install and Activate a Plugin

Here we’re going to download, install, and activate the Meta Slider plugin from wordpress.org.

While we know the name of the plugin, the plugin’s actual file name may be different, so we first will run a search to find out, using the command:

[examplesiteuser@wphost ~/public_html]# wp plugin search metaslider

Running that command tells us that the plugin’s name is “ml-slider”:

[examplesiteuser@wphost ~/public_html]# wp plugin search metaslider
Success: Showing 4 of 4 plugins.
| name | slug | rating |
| Meta Slider | ml-slider | 96 |
| ThreeWP Broadcast | threewp-broadcast | 94 |
| EWWW Image Optimizer | ewww-image-optimizer | 90 |
| EWWW Image Optimizer Cloud | ewww-image-optimizer-cloud | 90 |
[examplesiteuser@wphost ~/public_html]#

Now that we know the file name of the Meta Slider plugin, we can download, install and activate ml-slider with the following command:

wp plugin install ml-slider --activate

Running that code generates the following output:

[examplesiteuser@wphost ~/public_html]# wp plugin install ml-slider --activate
Installing Meta Slider (3.3.6)
Downloading install package from https://downloads.wordpress.org/plugin/ml-slider.3.3.6.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Success: Translations updates are not needed for the 'English (US)' locale.
Activating 'ml-slider'...
Success: Plugin 'ml-slider' activated.
[examplesiteuser@wphost ~/public_html]#

The “Success” messages tell us that ml-slider was installed and activated.

Database Operations

WP-CLI has a number of basic database management features built right in.

Back Up A Database

One particularly useful WP-CLI command allows you to easily back up the WordPress database:

wp db export

Running that command will export the site’s database to an sql file in the current working directory. If you do not specify a name for the file, the exported database file will be the database name with a “.sql” extension, and any existing file with that name will be overwritten. Because we are backing up the database and don’t want this file to overwrite any previous versions, we will be specifying a file name (which must end in .sql).

[examplesiteuser@wphost ~/public_html]# wp db export mydatabase_01042016.sql
Success: Exported to mydatabase_01042016.sql

You always should back up the WordPress database prior to making any significant changes. It takes only a moment and ensures that you will have a restore point in case your changes don’t quite go as planned.

Restore A Database

You can quickly restore a database from an sql file with:

wp db import

Simply supply the file name of the database to restore, and the specified sql file will overwrite the existing database:

[examplesiteuser@wphost ~/public_html]# wp db import mydatabase_01042016.sql
Success: Imported from mydatabase_01042016.sql

Note that importing a database will completely overwrite the existing database. Do not import a database unless you are certain that you have no further use for the existing database or its contents. If in doubt, back up the current version with a unique file name before restoring.

Search and Replace in the Database

WP-CLI includes an advanced search and replace that can be used for delicate operations on database tables. This feature commonly is used to update references to the site name when taking a development site into production.

In this example, we’re going to change the name of the user we created earlier, “sample”, to “example” using the command “wp search-replace”. Note that we’ve already backed up the database above using “wp db export”.

And because we’re changing a username, we’ll also specify that we want only to include the wp_users and wp_usermeta tables in the search and replace, so that the word “sample” doesn’t get replaced with “example” in posts or anywhere else it may crop up:

wp search-replace 'sample' 'example' wp_users wp_usermeta

Breaking down that command:

  • wp invokes WP-CLI
  • search-replace searches for the specified string and replaces it in the specified tables
  • ’sample’ is the string we’re searching for (the old text). The search string needs to be enclosed in quotes.
  • ’example’ is the string we’re replacing the old text with. The string needs to be enclosed in quotes.
  • wp_users wp_usermeta are the specific tables to which we are restricting the search and replace. You can list as many table names as necessary, separating them with a space. If no table name is specified, the search and replace will be performed on the entire database. Performing a search and replace on the entire database is a potentially dangerous operation and should be done only if you are absolutely certain of the results and even then, only after backing up the existing database with a unique name.


Note: Do not attempt to run a search and replace (or any other database-altering procedure) without first backing up the database with a unique file name. Even the simplest search and replace has the potential to cause a great deal of damage, or even take the site down (consider the result if we had replaced the word “sample” with “example” in every table in the database for a product sample giveaway site). Always manually take a database backup with a unique file name before running search-replace.

Manage Cron Jobs

WP-CLI can be used to display scheduled cron jobs, run them manually, or even add new ones.

For instance:

wp cron event list

returns a list of all scheduled WordPress crons.

You also may choose to run a listed WordPress cron immediately:

wp cron event run wp_scheduled_delete

executes the wp_scheduled_delete cron event right away, instead of at its normally scheduled time.

Manage Rewrite Rules

WP-CLI gives you the ability to see current rewrite rules as well as change the rewrite structure:

wp rewrite list

displays all current rules.

You also can change the rewrite structure using default WordPress variables. To make your rewrites display the month number first, followed by the year and the name of the post, you would use:

wp rewrite structure '/%monthnum%/%year%/%postname%'

Multisite WordPress Installations

Nearly all the WP-CLI commands can be used the same way on multisite installs as well, so long as you specify the site in the command. This is done by specifying the URL (in the format: –url=domainname.com) in the command.

For example, the command to list scheduled crons for examplewordpresssite.com on multisite would become:

wp cron event list --url=examplewordpresssite.com

Get Involved!

There is a great deal more that can be accomplished with WP-CLI, including the ability to write your own commands and share them with the WP-CLI community.

To get started, check out the Github page and the list of current community commands.

How To Connect To Your WordPress Optimized Template Site Using SFTP

Pre-Flight Check

  • SSH File Transfer Protocol (SFTP) is the most secure way to upload files to your WordPress Optimized Template site.
  • This article is intended specifically for connecting to a WordPress Optimized Template site using the free, cross-platform FTP client FileZilla, but the connection details should apply to any FTP client.

Step #1: Enter the Connection Details

  1. FTP/SFTP connection details are included in the “Welcome to your new WordPress site” email that was automatically sent to you upon adding the site in the Sites section of your Manage dashboard. In case you don’t have that handy, you will use:
    • Host: The domain name or IP address of the site
    • Username: The WordPress admin username created when adding the site
    • Password: The password you assigned to the WordPress admin user when adding the site
    • Port: 22 (Port 21 can be used for a standard FTP connection, but it is not recommended. SFTP should be used for maximum security. All connection details other than the port number are the same either way.)
  2. In FileZilla, enter the host, username, password, and port into the Quick Connect toolbar and press the Quickconnect button.FileZilla QuickConnect

Continue reading “How To Connect To Your WordPress Optimized Template Site Using SFTP”

Adding Sites To Your WordPress Optimized Template Server

Pre-Flight Check

  • This article applies specifically to Liquid Web’s Managed WordPress servers.
    We will be adding a WordPress site directly through the Manage interface, the preferred method for WordPress Optimized Template servers.

Step #1: Open the Server Dashboard

  1. Log into your Manage dashboard and click the [+] button to the left of your WordPress Optimized Template server’s name to expand the dashboard.Open the Dashboard
  2. Click on the Sites button in your dashboard to launch the WordPress Sites view.Click on Sites

Step #2: Add A Site

  1. To add a site, click the Install a WordPress Site button, fill out the requested information, and then click Add Site to add the new site.Add a Site
    • Domain Name is the domain name you want to add to the server. If the domain name is using Liquid Web nameservers, a free SSL certificate will be ordered and installed on the domain, and WordPress will be configured to use the https protocol on the site. If the domain name is pointed elsewhere, an SSL can be added later.
    • Username is the WordPress admin user. The username specified here will be used to log into both WordPress and the site’s cPanel account. It must be 16 characters or fewer.
    • Email is the contact information for the site.
    • Password is the credential which will be used to log into both WordPress and cPanel. It should be a strong password, and can contain upper- and lower-case letters, numbers, and basic special characters such as underscores.
    • Verify Password requires you to enter the password again, and will alert you if it does not match what was entered on the Password field.
    • Automatic Updates allows you to choose between automatically updating WordPress itself (Core), WordPress and its plugins (Core and Plugins), or disabling automatic updates altogether (None). It is recommended to at least enable automatic updates for WordPress itself.
  2. The site now will be listed in your Sites dashboard, where you can change update preferences or install a free standard SSL on the domain.

Step #3: Review Settings

Once you return to the Sites dashboard in Manage, you’ll now see your new WordPress site listed in the WordPress Sites section. Click on the [+] next to the domain name to expand the view and configure options for the site.

Review Settings

    • Automatic Updates: You can choose to have the WordPress core or the WordPress core and all plugins updated automatically, or you can disable update Automatic Updates altogether. Simply click the Update button after making any changes to the selected option.
    • Automatic Backups: The WordPress installation automatically will be backed up on a daily basis, and 10 of the daily backups will be retained. Beginning on the 11th day, the oldest backup automatically will be deleted when a new one is created. You will see a list of each backup listed under Automatic Backups once the first backup has been taken.
    • Install Free Signed SSL: Automatic SSL installation is possible only when the site’s domain name is registered and pointed to Liquid Web’s nameservers. If the domain is new or using other nameservers, you can click Install Free Signed SSL to get an SSL certificate for the domain ordered and installed at no charge.
Note that WordPress Optimized Template Hosting includes a free standard domain SSL certificate covering the domain name of each WordPress site you add to the server. The server itself is protected by a self-signed SSL certificate to encrypt cPanel, mail, and ftp connections. If you would like to purchase a third-party verified SSL certificate to cover core services on your server, you can find instructions for ordering and installing an SSL certificate for your hostname at Install an SSL certificate on a Domain using cPanel, and you’ll find a guide to installing the certificate at Installing Service SSLs in cPanel. Should you need any assistance purchasing or installing an SSL certificate for the hostname, please feel free to contact a Heroic Support® technician.
    • Delete WordPress Site: The Delete WordPress Site button will completely remove the site and its associated cPanel account, and all data associated with the site immediately will be removed from the server. That data will not be recoverable, so it’s imperative that you confirm that you have a local backup of the site files before deleting any site.
Any local backups taken would be stored on the server; these types of backups would be deleted along with the rest of the files in the account if you were to delete the site. It is recommended that any such backups be downloaded to your local computer before you delete a site. Storm® backups, if you elected to configure them during server setup or enabled them later via the Backup tab in your Manage dashboard, do contain a full image of the server and would not be deleted by removing the account; however, restoring an individual file or site from a full-server backup is not a drag-and-drop process and can require significantly more time than restoring from a local backup.

Step #4: Access Your New Site

Once you’ve added the site, an email will automatically be sent to the address on file for your account. The “Welcome to your new WordPress site” email contains:

  • the WordPress site’s login URL
  • the site’s IP address (for adding or updating the domain’s DNS record)
  • instructions for obtaining your free SSL certificate (if it was not able to be installed automatically)
  • SFTP connection information

Once you have made any necessary DNS changes and they have had time to propagate, you should see a standard WordPress installation at the site’s URL. You then can log in and start working with your WordPress Optimized Template site.

How To Deploy A WordPress Optimized Template Server

Step #1: Create the Server

  1. If you’re not already a Liquid Web customer, you’ll want to start from our Managed WordPress product page, and select a plan that meets your needs. If you have an existing Liquid Web account, log into Manage and click the Create button in the top left, then click on Managed WordPress.Create menu
  2. The Create a Managed WordPress Server page allows you to select your server options, with a sidebar reflecting the monthly and estimated prorated costs. The totals will update as you make your selections.Create Server
    • Choose Server Type allows you to select your zone, server size and image.
    • Bandwidth allows you to configure your outgoing bandwidth options. 5 TB of monthly transfer is included at no extra charge, and incoming bandwidth is free.
    • Daily Backups allows you to configure automated Storm® backup options, from $0.12 per GB per month. The Pay per Gig option allows you to specify how many daily backups to retain at that price, and the Quota Pricing option allows you to purchase a set amount of space for backups, retaining as many backups as can fit in that space and rotating them out as needed. Note that backups are not retained more than 90 days, regardless of the amount of space purchased.

    Hostname and Password

    • Hostname and Password allows you to choose the server name and a root password for the server.
      • The server’s hostname should be a subdomain of a domain name you control. Once the server is created, you will need to add a DNS “A” record pointing to the hostname; that will need to be done at the domain’s registrar and created in the main domain’s DNS zone file. In this case, we would need to add an A record for wphost.example.com to example.com’s authoritative DNS zone file once the server is created and an IP is assigned to it.
      • Please select only a strong password. It can contain upper- and lower-case letters, numbers, and special characters. If you choose, you also can set up access with an SSH key previously stored in your Manage dashboard.
    • IP Addresses lets you choose any additional IP addresses for the server. One is included, and additional IP addresses (up to the number shown next to Available Slots Remaining) can be added now at a cost of $1 per month per additional IP address. If you have an IP pool associated with your account in the zone you chose, you also can add addresses from the pool. If you need more IP addresses than the IP Addresses section will allow, they will need to be requested via support ticket after the server has been created.
    • Once you have reviewed your choices, verified the estimated monthly and pro-rated costs, and read the billing terms at the bottom of the page, click the Create Server button.
    • You will be presented with a popup window to confirm your selection.

    Confirm selection

    • Clicking the Create Server button here will create the server and charge the card on file.


    • You will be returned to your Manage dashboard, where you can monitor the server’s creation.

    Server Creating

    • Once complete, you will see the server’s status listed as Running in your Manage dashboard. You’ll also receive an email following activation which contains the server name, IP address, and login credentials for the server. While you will add WordPress sites directly from your Manage Dashboard, each WordPress site also has access to its own cPanel for the configuration and management of email, databases, cron jobs, statistics, and more.The Create a Managed WordPress Server page allows you to select your server options, with a sidebar reflecting the monthly and estimated prorated costs. The totals will update as you make your selections.

Step #2: Configure DNS Records

Once the server is deployed, you will want to ensure that DNS has been properly configured for the hostname you selected.
If you have not already done so, you may wish to follow our guides to add a DNS record for the hostname and set up Reverse DNS.

Note that WordPress Optimized Template Hosting includes a free standard domain SSL certificate covering the domain name of each WordPress site you add to the server. The server itself is protected by a self-signed SSL certificate to encrypt cPanel, mail, and ftp connections. As such, you may need to accept the security certificate when connecting via cPanel or using secure email. If you would prefer to use a third-party verified SSL certificate to cover core services on your server, you can find instructions for purchasing and installing an SSL certificate for your hostname at Install an SSL certificate on a Domain using cPanel, and you’ll find a guide to installing the certificate at Installing Service SSLs in cPanel. Should you need any assistance, please feel free to contact a Heroic Support® technician who can assist with obtaining and installing an SSL from the vendor of your choice.