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: Plugin SEF URLs v1.0 Problem  (Read 2796 times)

0 Members and 1 Guest are viewing this topic.

mirk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Plugin SEF URLs v1.0 Problem
« on: February 07, 2007, 12:31:53 pm »

Hi

bin eigentlich recht zufrieden mit dem Plugin. Habe aber folgendes problem. Wenn mann sich auf einer Seite befindet die schon umgeschrieben wurde z.B. "thumbnails-1.html" und jetzt die thumbs sortieren möchte entsteht dan so ein link "thumbnails-1-page-1.html&sort=nd" und es passiert nichts. Genau das selbe auch wenn man von einer umgeschriebenen seite aus die sprache ändern will. Bsp.: "thumbnails-1.html" wird zu "thumbnails-1.html&lang=brazilian_portuguese" deswegen passier auch hier keine veränderung.

hat jemand eine lösung für das problem?

gruss mirk
Logged

mirk

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Plugin SEF URLs v1.0 Problem
« Reply #1 on: February 10, 2007, 01:29:09 pm »

hat keiner einen plan? ist der author des moduls hier auch unterwägs? hier mal der auszug aus der .htaccess vielleicht weiss jemand wie man die ergänzen muss.
Code: [Select]
#
# Rewrite index urls
#
RewriteRule index-([0-9]*)\.html index.php?cat=$1 [NC]

RewriteRule index-([0-9]*)-page-([0-9]*)\.html index.php?cat=$1&page=$2 [NC]

#
# Rewrite thumbnail urls
#
RewriteRule thumbnails-([a-z0-9]*)-([\-]?[0-9]*)\.html thumbnails.php?album=$1&cat=$2 [NC]

RewriteRule thumbnails-([a-z0-9]*)-page-([0-9]*)\.html thumbnails.php?album=$1&page=$2 [NC]

RewriteRule thumbnails-([a-z0-9]*)-([\-]?[0-9]*)-page-([0-9]*)\.html thumbnails.php?album=$1&cat=$2&page=$3 [NC]

RewriteRule thumbnails-([0-9a-z]*)\.html thumbnails.php?album=$1 [NC]

RewriteRule thumbnails-search-(.*)\.html thumbnails.php?album=search&search=$1 [NC]


#
# Rewrite displayimage urls
#
RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)\.html displayimage.php?album=$1&cat=$2&pos=$3 [NC]

RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)\.html displayimage.php?album=$1&pos=$2 [NC]

RewriteRule displayimage-([0-9]+)\.html displayimage.php?pos=-$1 [NC]

RewriteRule slideshow-([0-9]+)-([\-]?[0-9]+)-([0-9]+)\.html displayimage.php?album=$1&pid=$2&slideshow=$3 [NC]

RewriteRule slideshow-([a-z]+)-([\-]?[0-9]+)-([0-9]+)-([0-9]+)\.html displayimage.php?album=$1&cat=$2&pid=$3&slideshow=$4 [NC]

gruss mirk
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.