Best way to redirect to G2?

anonymous11234

Joined: 2002-12-05
Posts: 135
Posted: Tue, 2005-02-15 01:08

I have my G2 the way I want it (ourphotos.org/gallery2/index.php)... What is the best way to set up a redirect so when visitors go to ourphotos.org, they can see my G2?

I know there are various ways, .htaccess, cgi, etc... but is one recommended)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-02-15 11:46

Depends on what you want. A .htaccess redirection can take care of all requests.
If you create just a index.php in ourphotos.org/index.php, you could redirect all requests to the gallery too with this php script:

<?php
header("Location: http://ourphotos.org/gallery2/");
exit;
?>

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-02-15 16:19

you can also install G2 in the exact location where G1 used to be :-)
(or move it there once you're ready..)