Jump to content

My 302 just doesn't want to know...


tossedsalad

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.