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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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