Unfortunately changing the rule requires restarting the server. But if your web root's directory structure is set in stone you could still do this.
My current rule is RewriteRule .*/go(/[^\?]*)(?:\?(.*))? /go.cfm\?path=/go$1&$2 I think you could add: RewriteRule .*/(?!(images|css|js|farcry|go))(/[^\?]*)(?:\?(.*))? /go.cfm\?path=/go$1&$2 Can't really test this though. The idea is that rule 1 checks for standard 'go' friendly urls, the second checks for 'go'less urls that don't match your static directories, and converts them - www.mysite.org/hotnewproduct becomes /go.cfm?path=/go/hotnewproduct. Blair On 1/21/07, Jeff Coughlin <[EMAIL PROTECTED]> wrote: > > > Derek, > > > What is the preferred way of setting up multiple keyword > > redirects for content? > > We already have Friendly URLs enabled, but need to have > > keywords that redirect to the same content item. > > Example: > > www.mysite.org/hotnewproduct > > redirects to > > www.mysite.org/go/hotnewproduct > > The best suggestion I can think of is to do the handling in your url > rewrite > tool (example: mod rewrite for Apache). If using a mod rewrite that uses > RegEx you can add it there. > > Personally I'd like someone to write a RegEx that I can use for FarCry > sites > that removes the need for /go/*. Then all I'd need is the RegEx to be > able > to refer to a customizable list of omitted names that the redirect will > know > to ignore (like images, css, js, admin, farcry, whatever...). > > RegEx is not my strongest point, so if someone wants to jump in and offer > a > regular expression that can do that (if its possible) then I would be > grateful. > > --- > Jeff Coughlin > Web Application Developer > http://www.jeffcoughlin.com > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
