Advanced search  

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

Pages: [1]   Go Down

Author Topic: Updating Database - Base URL  (Read 3417 times)

0 Members and 1 Guest are viewing this topic.

fffanatics

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Updating Database - Base URL
« on: February 01, 2006, 11:42:16 pm »

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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Updating Database - Base URL
« Reply #1 on: February 02, 2006, 01:22:19 am »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Updating Database - Base URL
« Reply #2 on: February 02, 2006, 01:25:29 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Updating Database - Base URL
« Reply #3 on: February 02, 2006, 09:49:08 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.