Re: question about friendly URLs
"Stephen Moretti" <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/07/06, farcry_n00b (sent by Nabble.com) <[email protected]> wrote: > > FWIW, I was able to get this up and running very easily after reading > through the developer guide wiki pages by installing and configuring IIRF. > My only dissapointment, if any, is that friendly URLs in farcry appear to > require "go" > This is something that was discussed recently on the dev list - the "go" has to be there in order for the web server and the application to realise that something needs to be done with the url path to make it meaningful to the application. Take a look at the last part of Geoff's description of the rewrite rule here : http://docs.farcrycms.org:8080/confluence/display/FCDEV30/Friendly+URL+Configuration RewriteRule ^/go/(.*)$ /go.cfm?path=/go/$1 [L,PT] This basically says if the url path starts with /go/ and is followed by a string of characters then rewrite the page to /go.cfm and tell it the url path. go.cfm then takes the url path and turns it into something meaningful for farcry. In other words, it looks up the ObjectID from the friendly url. You can change the URL prefix to be whatever you like and change your rewrite rule to match, but there must always be something there to manage the conversion from FU to ObjectID. > and there does not appear to be a way to tell farcry to always > display them to the user's browser instead of objectID ones - but I'll keep > reading... > Slightly obscurely you set FU to be on in the plugins config. I have a sneaky suspicion that FUSettings is associated with the FU plugin, which is now deprecated in favour of rewrite rules. Stephen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-user" group. To post to this group, send email to farcry-user-/[email protected] To unsubscribe from this group, send email to farcry-user-unsubscribe-/[email protected] For more options, visit this group at http://groups.google.com/group/farcry-user -~----------~----~----~----~------~----~------~--~---