HtAccessTools.com Merges With HostingCanada.org


As of January 2020, we’ve combined our seperate blogs for HtAccessTools with Hosting Canada. The decision came after the increasing server and maintenance costs of maintaining both sites. Both Gary and Steve are happy to collaborate on a ton of new guides that explain everything about .htaccess.

We think together we can expand the original library of content. Since its inception htaccesstools.com has helped over 350,000 readers better understand how to setup their htaccess and protect it with a suite of tools originally developed by Steve.

You can read our expanded guides here – containing over 25 different tutorials on htaccess

Intro to HtAccessTools

One this site you will find various generators to create .htaccess files for ie hotlink protection, password protection, or blocking of hitbots.

Help other users discover Htaccess Tools

This site is created to help other webmasters learn htaccess. You can +1 this site or any article to acknowledge its usefulness.

iPhone detection and redirection

We have written an article on how to use htaccess to detect and redirect iPhone users, by examining the User-Agent header iPhone sends.

Htaccess redirection

Htaccess can be used to create various forms of redirection. Read the htaccess redirection article and learn how to redirect from old domain to new domain, or redirect to www.

Htpasswd Generator – Create a htpasswd password

Use the htpasswd generator to create passwords for htpasswd files. Just enter username and password and an entry for a htpasswd file is generated.

How to create a password for a .htpasswd file using PHP

A user emailed us and asked how to create a password for a .htpasswd file using PHP. Take a look at the article.

Useful Articles and Resources