Search url changed? - Page 2 Search url changed? - Page 2
 

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

Search url changed?

Started by nickelas, June 10, 2010, 02:31:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller


nickelas

Just checking - I still have problems with links to my gallery in version 1.5.12 (now using .htaccess to solve it). Is this on the todo-list?
Cheers
http://uppsalafoto.se/galleri/
Human

Αndré

Maybe if I (or someone else) has a lot of spare time we can have a look at this issue again. I've added it to my to-do list, but only with a very low priority, sorry. I don't want to move it to the bugs board, as it's no bug, but the way how it works since the fix of a more dramatic issue. Of course we could add it to the 'Known issues' list, but that won't solve your issue ;)

Maybe you want to share your htaccess redirection rule with the community, so others may implement it the same way?

nickelas

Sure, this is what I useRewriteEngine On
RewriteCond %{QUERY_STRING} search\&search(.*)$
RewriteRule ^(.*)$ gallery-root/thumbnails.php?album=search&keywords=on&search%1 [R=302,L]

Replace "gallery-root" in the last row with the url to the cpg-root and place the .htacess there aswell.
This was a quick-fix and I can't swear it doesn't mess up any other search-options. But it fixes my issue
Human