Redirecting a parked domain to somewhere else?

Soldato
Joined
26 Aug 2006
Posts
9,726
Location
62.156684,-49.781113
I've run out of addon domains, but would like gumbald.com (currently a parked domain) to redirect to gumbald.co.uk, this is possible through .htaccess? Currently I've got the following, but with no effect...

Code:
RewriteCond %{HTTP_HOST} ^gumbald.com$
RewriteRule ^(.*)$ http://gumbald.co.uk/$1 [R=301]
 
Have you got

RewriteEngine on

above those 2 lines?

Genius, thanks. There was already stuff above, presumed I didn't need it. What does the following do then? I should really know this .htaccess stuff better!

Code:
options -indexes
php_flag magic_quotes_gpc off

<IfModule mod_rewrite.c>
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
Back
Top Bottom