Updating Database - Base URL Updating Database - Base URL
 

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

Updating Database - Base URL

Started by fffanatics, February 01, 2006, 11:42:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fffanatics

I was wondering if there was a way to update the database so that you can replace all of the links. For instance, right now, Coppermine has all of the links in the following fashion:

http://s90678298.onlinehome.us/Album/thumbnails.php?album=88

However, you can get to the same page by going to:

http://joel.poloney.com/thumbnails.php?album=88

Is there something that I can do to update all of the links so that they are changed from http://s90678298.onlinehome.us/Album/ to http://joel.poloney.com/ ?

Thanks,
Joel Poloney

kegobeer

Are you using some sort of redirection service?  If you actually own the poloney.com domain, and the files resided on the poloney.com domain, then the links would be correct.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

fffanatics

The files don't reside on the poloney.com domain, they reside on another server. I have a symbolic link redirecting to the other server.

Joachim Müller

coppermine doesn't store full URLs in the database, but relative ones. Pages themselves are being identified by ID only. Imo you should be able to come up with a custom .htaccess file that does the redirection if you're allowed to use mod_rewrite.