PDA

View Full Version : My 302 just doesn't want to know...


tossedsalad
10-31-2006, 11:16 AM
Hi!

I'm in the process of moving from a .com (currently hosted at location:A) to a .co.uk (currently hosted in location:B)

The plan is eventually to only host at location:B, probably in a month's time.

The .co.uk is waiting to be indexed currently (sandbox, I guess), meantime I've tried issuing a 302 redirect (from location:A to location:B), with the following code:<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST] ^(www\.)?mydomain\.com [NC]
RewriteRule ^(.*) http://www.mydomain.co.uk/ [R=302,L]
</IfModule>But nothing happens.

Any thoughts?

David