Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Hacks and Modifications (http://www.pixelpost.org/forum/forumdisplay.php?f=16)
-   -   My 302 just doesn't want to know... (http://www.pixelpost.org/forum/showthread.php?t=5404)

tossedsalad 10-31-2006 11:16 AM

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>

But nothing happens.

Any thoughts?

David


All times are GMT. The time now is 12:21 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.