Running WHMCS v6.3? Saving Product Details Bug & Resolution

whmcWe recently identified a bug in the latest versions of WHMCS including version 6.3.1.  The bug consists of unexpected behavior when modifying a client’s product details and using the “Enter” key to submit the changes when the product is a cPanel Account.  In previous versions of WHMCS you could change a field, such as the renewal price, and press “Enter” to submit the form.  Over the years we had become accustomed to changing client product settings in this manner as we found it was the most efficient way to do it.

Due to this bug when modifying the details of a client’s product you have to use the “Save” button at the bottom of the form or WHMCS attempts the new “cPanel Single Sign-On” to access the cPanel account of the product.  On the surface this may not sound like a huge deal but over the course of the day the productivity lost over such a simple issue can add up fast.  In some cases the changes entered into the product are lost and even worse the representative may not notice it happened!

As we have also identified a fix we could put in place prior to WHMCS resolving this internally – we wanted to make that available.  This fix applies to both the “blend” as well as the “v4” WHMCS Administration templates. Continue reading “Running WHMCS v6.3? Saving Product Details Bug & Resolution”

What is the HOSTS file & when should I use it?

Editing HOSTS file on OS X via NanoWhat is the HOSTS file?

The HOSTS file is used by your computer’s Operating System (Windows, OS X, Linux, etc) to map hostnames to IP Addresses.  In layman’s terms your computer will check this file for any domain it needs to resolve to an IP Address prior to querying public DNS resolvers.  The HOSTS file can be used to point a domain name to an IP Address regardless of the DNS settings for the domain.

An example of a HOSTS entry to load “www.example.com” and “example.com” from the IP address “93.184.216.34“:

93.184.216.34    www.example.com example.com

Windows may require two separate lines like so:

93.184.216.34    www.example.com
93.184.216.34    example.com

When the above records are added to your HOSTS file the result is that if you try to load that domain in your browser it will connect to that IP to make the request.  If you try pinging the domain you will find that it pings that IP as well.  What this means is that you can use this to test your site on a new server before you point your world-wide DNS there. Continue reading “What is the HOSTS file & when should I use it?”

WordPress Security – Plugins & Themes – If you’re not using it, remove it!

wordpress-logo-notext-rgbOver the last few years I have seen more accounts compromised due to outdated default themes like  “Twenty Twelve”, “Twenty Thirteen”, “Twenty Fourteen”, etc.  When a user installs a new copy of WordPress more often than not they proceed to install a new theme that they prefer over the default offerings.  The big issue is the result of two missing steps that all webmasters should perform.

First and foremost is keeping everything up-to-date which can prevent the vast majority of account compromises we have seen over the years.  We keep the servers themselves secure from intrusion and we even work to protect your usernames, passwords, email accounts, etc. but there is a limit to how much we can shelter you.  If, for example, you have an outdated theme or plugin installed even if you aren’t using it – it can be used against you and your site.

Continue reading “WordPress Security – Plugins & Themes – If you’re not using it, remove it!”

New WordPress Recommendations – Google Search Console, Caching, XML Sitemaps

WordPress LogoThere are a few resources and plugins that I recommend for any new WordPress powered sites.  When I start a new site one of the first things I want to do is set up the Google Search Console.  You can read more about the Google Search Console on Google’s Support Site.

With the Google Search Console you can do the following and more:

Configuring W3 Total Cache, W3TC, for Optimum Performance with Disk Cache for Shared Hosting – Optimizing WordPress

WordPress LogoIn this article I will be explaining how to configure W3 Total Cache, hereafter referred to as ‘W3TC’, to cache your site and to serve that cache statically via mod_rewrite for maximum performance.

You will need to install W3TC via your “wp-admin” -> “Plugins” -> “Add New” if it is not already installed.  One the installation is complete you will want to activate the plugin.  Once activated you can click on “Performance” in the left navigation of your “wp-admin”.  This will drop you at a dashboard where W3TC is trying to sell all kinds of upgrades.  I will not be discussing those upgrades in this article.

Continue reading “Configuring W3 Total Cache, W3TC, for Optimum Performance with Disk Cache for Shared Hosting – Optimizing WordPress”

Configuring WP Super Cache for Optimum Performance – Optimizing WordPress

WordPress LogoIn this article I will explain how to optimize your WordPress Super Cache to use mod_rewrite to serve your cache files fast and efficiently.  The installation defaults are not ideal and will only help with the most resource-intensive sites.  When optimized properly WP Super Cache can greatly increase visitor concurrency as well as reduce your bounce rate.

We have users running WordPress on shared hosting and getting anywhere from 3,000 to 10,000 unique visitors per day without issues while we have other customers that seem to struggle to handle more than a few concurrent users at once – both on the same type of plan!  The difference between the two comes down to optimization.

One of the most important things you can do to increase the performance and reduce the resource usage of WordPress is to install and properly configure a caching plugin.  The plugins we see most often are WP Super Cache ans W3 Total Cache.  In this article I’m going to be discussing WP Super Cache.

Continue reading “Configuring WP Super Cache for Optimum Performance – Optimizing WordPress”