Category Archives: Apache

Apache URL Redirects Using .htaccess

I’ve redirected everything from to using Apache redirects. It is pretty simple, I just created a .htaccess file in the web root for and added this one line:
RedirectMatch permanent ^/$

Now it nicely, and permanently redirects everything from

There is one catch however: what about stuff in sub-folders, like The above redirect doesn’t handle that so I also added:
RedirectMatch permanent ^/*

It doesn’t redirect to the matching pages, but I don’t really want to do that anyways.