If you don’t know what an “.htaccess” file is, then count yourself lucky. However, if you ever have the unenjoyable task of creating one (due to 301 redirects or a domain change), I’ve found a tool that ought to save you about 2 hours of awful work.
The “.htaccess generator” at this location allows you to type in variables and different conditions like error pages and password protection and get an htaccess file that you can upload to your server. Super easy.
Or you could stay up to 2 am and write your own.