On 9 Feb 2009, at 01:44, Will Tomlinson wrote: > Thanks Seb! > > So I could say: > > RewriteRule ^calendarDetails\.html/[A-Za-z]+/([0-9]+)$ / > calendarDetails.cfm? EID=$1 [NC]
Make sure there's no space before the ? Yes, or even: RewriteRule ^calendarDetails\.html/([A-Za-z]+)/([0-9]+)$ / calendarDetails.cfm?$1=$2 [NC] This means that /XXX/123 would provide ?XXX=123. Also, if you add /? before the $, then /XXX/123/ would work as well as /XXX/123 (personally, I always have one of my first rules that forces the trailing slash to be either present or not present - better for SEO, and making sure you don't have 2 URLs for the same page). I would also recommend starting your .htaccess file with the following: RewriteEngine On RepeatLimit 200 RewriteBase / The RewriteBase directive means that every matched expression (the first half of the RewriteRule) is started after the root / of the website (^ means the beginning of the string to match, $ means the end). Having the ^ at the beginning also means that the regex would match http://www.my.com/calendarDetails.html/EID/123 but not http://www.my.com/directory/calendarDetails.html/EID/123. If you removed it, you could have any number of characters appearing before the calendarDetails.html... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319073 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

