Here is a very quick tip on how to protect your whole site with htaccess password but only allow certain IP. This is very usefull when you are working on a development server and you want only your team to access the site.
I have been struggling lately for a really simple task: change a domain name for an already online site and do a 301 redirect for all pages to the new domain. Basically the domain is pointing to the same directory, I added it as an aliases to point to the old domain. After doing all [...]