|
#1
|
|||
|
|||
|
My 302 just doesn't want to know...
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: 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>
Any thoughts? David |
| Post Reply |
| Thread Tools | |
|
|