Skip Navigation

Everything tagged with "htaccess"

A beginner's guide to URL rewriting, with plenty of examples.

Read the rest of this post »

Referrer spam is becoming increasingly common. At best, it will only render your log files useless. At worst, it can cause your site to be dropped by search engines and your running costs to skyrocket. Here's how to block spurious referrers.

Read the rest of this post »

A quick reference guide for mod_rewrite, including server variables, flags and regular expression syntax. Also includes examples of commonly-used rules.

Read the rest of this post »

A tutorial explaining how to retrict access to a directory on a web server using .htaccess.

Read the rest of this post »

Apache allows you to customize the server at the directory level, using .htaccess files. This tutorial explains how to use them to serve custom 404 error (page not found), and other common error pages, to your users.

Read the rest of this post »