Problems with SEF_URLs plugin Problems with SEF_URLs plugin
 

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]

Main Menu

Problems with SEF_URLs plugin

Started by profili, August 17, 2011, 12:32:13 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

profili

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.

ΑndrĂ©

Quote from: profili on August 17, 2011, 12:32:13 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
RewriteRule displayimage-([0-9]+).*\.html(.*) displayimage.php?pid=$1$2 [NC]
to
RewriteRule (.*)displayimage-([0-9]+).*\.html(.*) $1displayimage.php?pid=$2$3 [NC]


Maybe there's a better solution I'm currently not aware of.