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: Problems with SEF_URLs plugin  (Read 2924 times)

0 Members and 1 Guest are viewing this topic.

profili

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 113
Problems with SEF_URLs plugin
« on: August 17, 2011, 12:32:13 am »

There is a problem, or bug with SEF_URLs plugin

For some unknown reason are created url-s from folders that are not there at all. As user we can't see these url-s, but Google do. I found these url-s in Google's search results.

To understand my point look at Timos gallery, the author of Speaking url-s hack. http://pics.timos-welt.de/

A normal album http://pics.timos-welt.de/uebersicht-50-_Oldenburg_September_2010_.html
And this is the url I'm talking about: http://pics.timos-welt.de/dasistuncool/uebersicht-50-_Oldenburg_September_2010_.html

A normal file url http://pics.timos-welt.de/bild-50-1142-_Das_Ende_der_Saison_.html
And the "other" url http://pics.timos-welt.de/justfortest/bild-50-1142-_Das_Ende_der_Saison_.html

These folders are not there and the gallery should give a 404 error, but not, it gives this broken page.

I hope someone will come with e solution for this, because it is a real problem.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Problems with SEF_URLs plugin
« Reply #1 on: August 17, 2011, 10:37:49 am »

These folders are not there and the gallery should give a 404 error, but not, it gives this broken page.

I don't know where those urls come from, but if you need a 404 error message by all means, you have to edit the whole .htaccess file. E.g. you have to change
Code: [Select]
RewriteRule displayimage-([0-9]+).*\.html(.*) displayimage.php?pid=$1$2 [NC]to
Code: [Select]
RewriteRule (.*)displayimage-([0-9]+).*\.html(.*) $1displayimage.php?pid=$2$3 [NC]

Maybe there's a better solution I'm currently not aware of.
Logged
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 20 queries.