Home > Tag Archives: htaccess

Tag Archives: htaccess

November, 2016

  • 29 November

    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 any fancy firewalls – simply ...

August, 2012

  • 19 August

    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 any htaccess commands and functions, ...

  • 18 August

    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 will block a whole range ...

November, 2011

  • 9 November

    New Tool: .htaccess Generator

    As I was writing up this mornings .htaccess tutorials I realized how much easier working with an .htaccess file would be if you could simply use some form of tool to generate all the code you need. I got together with Hideyo Ryoken & Masato Mannen, the team behind www.htaccesseditor.com – and setup a customized .htaccess generator here. Combined with our .htaccess tutorials – this should ...

  • 9 November

    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 with the site being called ...

  • 9 November

    Selecting Default Index Files

    Most web hosts setup your account to use a specific file as the index file. In most cases this is either index.html, index.php, index.htm or defualt.html, but what happens if you don’t want to use any of those names for your index file? What if you want your index file to be called thestart.php (for example). Well once again we ...

September, 2011

  • 20 September

    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 instructions on how to create ...

  • 20 September

    Creating a .htaccess file

    Before you can start using any htaccess commands and functions, it is important to know how to create a .htaccess file. Surprisingly this actually causes people lots of problems. Most Operating Systems, Windows in particular, will not accept the file name .htaccess when you go to try to save the document. This error seems to have been fixed in Windows ...

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.

Close