New Domain

by @jehiah on 2006-12-01 04:14
Filed under: All, Web

jehiah.com is now jehiah.cz Why? it's a pretty much a no-duh move when you realize that my last name is "Czebotar".

Anyway here's a .htaccess tip for anyone else that decides they want to switch domains. Even if you are just dropping the 'www' from your domain name, and want everything redirected properly to keep from leaving broken links all over the place.

RewriteCond %{http_host} www
RewriteRule (.*) http://jehiah.cz/$1 [L,R=301]
RewriteCond %{http_host} jehiah.com
RewriteRule (.*) http://jehiah.cz/$1 [L,R=301]

Those redirects even give the 301 response code which is proper =)

Anything else I should be aware of when switching a domain name?

Subscribe via RSS ı Email
© 2017 - Jehiah Czebotar