Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Rewriting paging links to static URLs

Quote Reply
Rewriting paging links to static URLs
I'm using mod_rewrite to rewrite some common search queries to static URLs, so that:

/cgi-bin/search.cgi?query=;Options=factor1

becomes

/collections/factor1/


The only problem with this is that all the paging links remain as dynamic cgi URLs. Ideally I would like them to look like they do for categories i.e. /collections/factor1/more2.html etc. I would then figure out a rewrite rule to pick up the '2' value and pass it into the rewrite query string.

I have tried changing the url and page values via the paging array but I haven't been able to get this to work. Any suggestions on if this is possible and where to start would be appreciated.
Subject Author Views Date
Thread Rewriting paging links to static URLs aus_dave 5142 Oct 16, 2007, 9:50 PM
Thread Re: [aus_dave] Rewriting paging links to static URLs
Andy 5032 Oct 18, 2007, 1:49 AM
Thread Re: [Andy] Rewriting paging links to static URLs
aus_dave 4990 Oct 18, 2007, 7:07 AM
Thread Re: [aus_dave] Rewriting paging links to static URLs
Andy 4995 Oct 18, 2007, 7:22 AM
Thread Re: [Andy] Rewriting paging links to static URLs
aus_dave 4994 Oct 18, 2007, 7:41 AM
Post Re: [aus_dave] Rewriting paging links to static URLs
dujardin 4922 Mar 15, 2008, 11:59 AM
Post Re: [aus_dave] Rewriting paging links to static URLs
el noe 4707 Jul 19, 2009, 6:16 AM