• Installing WordPress

    Overview WordPress is a popular content-publication software that can do everything from run a simple four-page web site to an eCommerce shop. Even our knowledgebase is run with WordPress, a few plugins, and a theme. Installing WordPress One-Click Method Go to Web > Web Apps within the control panel Select the hostname from the…

  • Optimal W3 Total Cache settings

    Overview W3 Total Cache is a comprehensive caching plugin for WordPress that will dramatically speed up pageviews and consolidate page requests. WordPress works faster, and people who visit your page can do more in less time, with no downsides. It works so well, it is even used on this knowledgebase,…

  • Updating from 4.1 to 4.1.1 fails after submitting FTP credentials – returns blank page

    Overview When updating WordPress from 4.1 to 4.1.1, after inputting FTP information, WordPress returns a blank page. Cause WordPress 4.1 is shipped with a bug in its update module that prevents sending version information when looking for an available update through WordPress’ servers. (cf. ticket #31378) Solution WordPress has included, temporarily, a…

  • Working with HTTP rate-limiting

    Overview All HTTP servers enforce a collection of HTTP rate-limiting to reduce abuse and achieve a high reliability. This system is built on a fork of mod_evasive, which implements an interval-based bean counter, in other words it begins counting URI requests for a given duration once the first request is received….

  • Static files served without recording hit to access_log

    Overview Static files (index.html) can be served without logging a request in access_log. Cause This occurs when mod_pagespeed is enabled. Pagespeed intercepts the request higher in Apache’s processing axis before mod_log_config and serves the static file from its optimized cache if present. This does not affect files which have a…

  • Sharing .htaccess rules

    Overview An .htaccess file may be shared across multiple domains and subdomains by being located in a common parent directory. Locating an .htaccess under /var/www will allow any domain or subdomain located under /var/www to inherit these rules; effectively any domain or subdomain that is not managed by a secondary…

  • Forwarding a web site elsewhere

    Overview A forwarded website can be accomplished by first creating a subdomain or addon domain in the control panel, then using an .htaccess in document root to redirect all traffic to the new web site using mod_rewrite. Important terminology Forwarded domain: domain that will redirect to the target domain Target domain: domain…

  • Enabling Google Analytics support

    Overview Google Analytics is a free web analytics application provided by Google, including SEO recommendations and live site traffic. Sample Google Analytics dashboard Setting up GA Google Analytics can be enabled on newer, v5+ platforms using two lines in a .htaccess file. Visit Google Analytics to create a profile for the domain Once the profile…

  • Rewrite rules fail on subdirectories, subdomains, or addon domains

    Overview Rewrite rules remap a URL to another location or resource accessible on a web site. These rules are located in .htaccess files. A common snippet looks similar to: RewriteEngine On RewriteCond %{REQUEST_FILENAME} ! -f RewriteRule ^(.*)$ index.php [QSA, L] When located anywhere else besides the document root of the primary…

  • Accessing web page views and error messages

    Site statistics can be viewed, in raw form, through access logs available via /var/log/httpd/access_log. Likewise, errors that may arise from improperly-configured PHP scripts or general diagnostics are available in error logs via /var/log/httpd/error_log. These errors are typically manifested as 550, 500, 403, or status codes also more commonly referred to…