Forward Forward
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.   ::)