Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 10-31-2006, 11:16 AM
tossedsalad Offline
forum loafer
 
Join Date: Oct 2006
Posts: 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>
But nothing happens.

Any thoughts?

David
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:14 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs