20 articles Web Content

Information all about how pages are served and how page content is negotiated.

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. There are two classes of…

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 user within that user’s respective…

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 that is the final destination…

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+ and newer platforms. No further…

PageSpeed support

Overview PageSpeed (mod_pagespeed) optimizes your site and makes content load more quickly. PageSpeed applies a variety of filters including minifying scripts, inlining CSS, and automatically deferring JavaScript to avoid blocking DOM rendering. Users can browse your site with less latency, and in turn, improve visitor engagement. Availability PageSpeed is available on all v5+ platforms. PageSpeed is enabled by…

Enabling Google Analytics support

Overview Google Analytics is a free web analytics application provided by Google, including SEO recommendations and live site traffic. 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 is created, you will see sample code to insert:…