Archive for the ‘Redirection’ tag
Redirection is Better!
Brief: Phew! Pointing two URLs to the same doc root apparently can give search engines gas. I’ve thus changed my apache httpd.conf by specifying 301 redirects instead!
#####
<VirtualHost *>
ServerName tin.blogdns.com
#DocumentRoot /Volumes/SnO2 ### OLD BEHAVIOUR
RewriteEngine on
RewriteRule ^/(.*) http://eddiema.ca/$1 [L,R=301]
</VirtualHost>
#####
Excellent… In case you’re lost, the old behaviour made it so that going to tin.blogdns.com would just forward the content from the server without changing the URL; now the URL is correctly rewritten and content is served first hand from eddiema.ca instead.
Ed's Big Plans