Advanced Branding – Give Your Pages A Custom Extension Using .htaccess SetHandler

A sign of a good website is one that does the "little things" to increase the usability or value to the user. There are other little things you can do to enhance your website, including giving your pages a custom extension.

The Code

<FILES *.blu>
  SetHandler  application/x-httpd-php
</FILES>

What the following code tells the server is to treat any file with the .blu extension as a PHP file, thus every .blu page is a PHP page.


Comments


    Be Heard!

    Share your thoughts without being a jerk! And wrap your code in <code> tags, f00!

    Name*:
    Email*:
    Website: