tossedsalad Posted October 31, 2006 Share Posted October 31, 2006 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>[/code]But nothing happens.Any thoughts?David Link to comment https://forums.phpfreaks.com/topic/25688-my-302-just-doesnt-want-to-know/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.