Skip to Content

1 posts tagged with htaccess

One Rule to rule them all

I own a number of parked domains that all redirect to this site. The redirection is handled by some Rewrite rules in my Apache server’s root .htaccess configuration file. For example:

# redirect domain.co.za
RewriteCond %{HTTP_HOST} ^domain\.co.za$ [NC]
RewriteRule ^(.*)$ http://coda.co.za/$1 [R=301,L]

What bugs me is that I have to add these lines for each … view full post