Nick Yeoman's Blog

Apache

Using Apache to Redirect Pages

Updated: March 11, 2022

In this article I explain how to do a 301 and 302 redirect using Apache's .htaccess file.

Redirect index.php to root (/)

Updated: February 17, 2022

How to redirect all traffic to a single page.

Htaccess Subdomains to www

Updated: February 17, 2022

Search engines are making duplicate content an easy problem to solve.

Htaccess 404 Page

Updated: February 17, 2022

Usually 404 pages are handled within your framework or CMS, but some cases call for an htaccess 404 page.

Password Protection using Apache's htaccess

Updated: February 17, 2022

Protecting a directory with a password using Apache and htaccess is really simple, I'll tell you how anyway.