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: [Invalid]: Question about htaccess redirect  (Read 2377 times)

0 Members and 1 Guest are viewing this topic.

catalyst323

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[Invalid]: Question about htaccess redirect
« on: February 22, 2010, 03:00:21 am »

I am trying to add a redirect to my gallery so that it will redirect like this: example.com/gallery/index.php to example.com/gallery/ however I have had no luck and I am not sure why its not working. This is what I am using:
Code: [Select]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /gallery/index\.php\ HTTP/
RewriteRule ^gallery/index\.php$ http://www.example.com/gallery/ [R=301,L]

Does anyone know how to get this working?
« Last Edit: February 22, 2010, 07:35:11 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Invalid]: Question about htaccess redirect
« Reply #1 on: February 22, 2010, 07:36:20 am »

Not a valid coppermine question, nor posted in a valid way (board rules!). Marking accordingly.
Logged

catalyst323

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [Invalid]: Question about htaccess redirect
« Reply #2 on: February 22, 2010, 02:08:50 pm »

I was just trying to find out if there was something in coppermine that is interfering with this redirect. I have used it before on other sites and know that it works. Can you just answer that?
Logged

catalyst323

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [Invalid]: Question about htaccess redirect
« Reply #3 on: February 22, 2010, 02:13:00 pm »

Also it is relevant to coppermine as I am just trying to make an improvement to the SEF_URLs plugin by removing duplicate content.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Invalid]: Question about htaccess redirect
« Reply #4 on: February 22, 2010, 07:17:45 pm »

Let me repeat what I said:
nor posted in a valid way (board rules!)
The link isn't there because I like the word "board rules" in blue better than in black. It's there to be clicked by you, which will lead you directly to the board rule that you haven't respected, but need to respect if you want an answer.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.