Forward Forward
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Forward

Started by CGPhotos, October 11, 2006, 06:58:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CGPhotos

Can someone tell me how and where to edit the script to have the address to my gallery on the old server open to the address to the gallery on my new domain/server?

Joachim Müller

Use any type of redirection you could think of - not related to coppermine.
Different aspects of redirecting are discussed on many pages on the internet, e.g. http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm

CGPhotos

Thank you, I was hoping there was a just script somewhere I could just change the address in.

Joachim Müller

The page I refered to in fact offers you several easy methods - it doesn't get easier than that. If you prefer PHP, you could use this:<?php
header
("HTTP/1.1 301 Moved Permanently");
header("Location:http://your-new-domain.tld");
exit;
?>
. If you're keen to edit a Coppermine file (making things complicated), just add above code to index.php (at the very top) if you prefer.

CGPhotos

Thank you guys for the help here, I was lnot able to get the script to work, however, my host had a redirect in my control panel.   ::)