• Updating WordPress

    Overview Periodic updates for WordPress and its plugins are released to introduce new features, address performance problems, and resolve security vulnerabilities. Keeping WordPress up-to-date is critical to ensure that your site operates without interruption and without being hacked. How to update One-Click Method Go to Web > Web Apps within the control panel Select…

  • Enabling write-access

    Overview The web server operates in a dual-user mode for enhanced security. In order for a web application to access your filesystem, specific permissions must be granted. Solution Change permissions on necessary files to 717 or 777. For WordPress, wp-content/uploads/ and wp-content/themes/  should be changed recursively to allow media uploads and…

  • Warning: An unexpected error occurred.

    Overview When attempting to install a plugin or update WordPress, the process will complete successfully with the following message: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure…

  • 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…

  • 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….

  • 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…

  • HTTP2 support

    Overview HTTP2 is a next-generation binary protocol that supports multiplexing HTTP requests to greatly decrease page load times. Your site loads up to 2x faster, and it’s supported by every modern browser. Activating HTTP2 HTTP2 support requires a SSL certificate (and IP address) to activate. HTTP2 is available on all v6.5+…

  • Disabling PageSpeed

    Overview In rare certain situations, PageSpeed may make debugging a staging site more difficult or interfere with custom JavaScript that manipulates the DOM in a HEAD tag. Although likely unnecessary to disable, PageSpeed may be disabled on your site with a simple htaccess directive: Create a file named .htaccess in…

  • 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…