Block Referrals From Specific Domains

Unfortunately these days not all traffic is good traffic – and as such the time may come when you may wish to block traffic that is coming from a certain referral domain. Firewall platforms such as Cloudflare have options for this available using their online dashboards – however you can accomplish the same thing without […]

HTACCESS Tutorials

Welcome to the .htaccess tutorials section of the Rapid Purple blog. The following tutorials are aimed to give you an introduction to creating and working with an .htaccess file; along with a few useful tips and tricks every webmaster should be familiar with. Creating An .HTACCESS File First things first. Before you can start using […]

Denying Site Access

Denying and allowing access to your website can be accomplished very easily with .htaccess. In order to block an IP address you would use the following command within your .htaccess file: deny from 000.000.000.000 Replace 000.000.000.000 with the IP address you wish to block. If you only specify one or two groups of the numbers you […]

Using Custom Extensions

Ever wondered how Google makes some of their pages have the extension .g? This is a fairly easy procedure really, and htaccess does a great deal in helping us accomplish this. First decide what you want the new extension to be, for our purposes we will use the extension of .purple (simply because it makes sense – what […]

Creating Custom Error Pages

One of the most common uses for a .htaccess file is to create custom error pages. The Apache server comes pre-installed with several different error pages, the problem with them is that they are quite frankly…. ugly. In order to use custom error pages we just need to add the following line(s) to our .htaccess file (for […]