Forward Forward
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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