Advanced search  

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]

Pages: [1]   Go Down

Author Topic: redirect to another web page  (Read 4679 times)

0 Members and 1 Guest are viewing this topic.

agonamba

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
redirect to another web page
« on: September 26, 2004, 12:17:29 pm »

Hello

This is my first post on this forum.
Congratulations for Coppermine !  ;D

I have search on the forum to resolve my problem, but I have not find a solution.

My problem :
When a visitor (user or not) use a web adress pointing directly to a folder containing pictures, he is automaticly redirect to the start page of the coppermine gallery.
I want to redirect it to another web page of my site.

Thanks for your responses.

Sorry for my bad english, I'm french  :P
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: redirect to another web page
« Reply #1 on: September 26, 2004, 08:10:19 pm »

edit your_coppermine_folder/albums/index.html with a plain text editor, find
Code: [Select]
<meta http-equiv="refresh" content="0; url=../index.php">and replace the target, e.g. like this:
Code: [Select]
<meta http-equiv="refresh" content="0; url=../../my_rediretion_page.htm">or
Code: [Select]
<meta http-equiv="refresh" content="0; url=http://mysite.tld/some_folder/my_rediretion_page.htm">
Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.