For any kind of high volume, you will definitely want to do this on the Web server level, on IIS with ISAPI Rewrite (http://www.isapirewrite.com) or similar, or on Apache mod_rewrite. Both fairly easy to setup and configure, and can do what you're asking, with zero change to your CF app. Much more flexible, much more scalable.
My 2 cents. >What are some ways to make URLs more friendly for our product pages? >My marketing guy wants to put these types of URLs in his ads: >mydomain.com/ProductA >mydomain.com/ProductB >mydomain.com/ProductC > >I know I can do a subdirectory named ProductA and use <cflocation> to do a >redirect, but is their an easier way when I have 50 or more possiblities? >I'd rather not have to create a directory and a default.cfm per product. > >One thought I had was to change the slash to a question mark. But I'm not >sure if the marketing dude will go for it. > >Thanks. > >-- >Matt Williams >"It's the question that drive us, Neo." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243010 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54