Re: Fake URLS
Donnie, if you have CF8 or higher, you might find TrafficMunkey does the trick. My company is releasing this as a free download today. It's a framework that allows you to use real URLs while still retaining all of the benefits of a framework, like site templates and exit actions. For your issue in particular, you would use regular, old folders. Setup a folder for each product, the webserver will serve up the index.cfm file in each folder. TrafficMunkey intercepts this request, and then lets you configure any page in your site to field that request, regardless of whether it exists in that folder or not. It's what I do for the link below. There are a few peculiarities based on Web server, e.g. Apache just serves up the page but IIS needs an actual empty folder so that the folder can be configured to allow Directory Browsing, but once you know this, it works pretty smoothly. http://www.millionmunkeys.net/TrafficMunkey/ Pete Oliver-Krueger http://www.millionmunkeys.net/ Ideas for building software. Software for building websites, fast! Subject: Fake URLS From: Donnie Carvajal Date: Fri, 1 Oct 2010 11:44:19 -0400 (EDT) Thread: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62014#337741 I am trying to make my e-Commerce item links for efficient. For example, I would like the link for an IPod Tocuh 32 GB to be http://www.domain.com/ipod_touch_32_gb instead of http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point. I'm assuming that the url http://www.domain.com/ipod_touch_32_gb will throw some kind of 404 error and I will need to change the web server custom error for this 404 error to run some kind of script. Has anyone implemented URLs like this before? If so, how? Are there any scripts out there that I can use? Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337828 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fake URLS
Were you the one asking for a way to generate the url's from the database? Then this may be the solution for you. http://www.helicontech.com/ape/ particularly this feature. http://www.helicontech.com/ape/doc/mod_seo.htm Russ Subject: Fake URLS From: Donnie Carvajal Date: Fri, 1 Oct 2010 11:44:19 -0400 (EDT) Thread: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62014#337741 I am trying to make my e-Commerce item links for efficient. For example, I would like the link for an IPod Tocuh 32 GB to be http://www.domain.com/ipod_touch_32_gb instead of http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point. I'm assuming that the url http://www.domain.com/ipod_touch_32_gb will throw some kind of 404 error and I will need to change the web server custom error for this 404 error to run some kind of script. Has anyone implemented URLs like this before? If so, how? Are there any scripts out there that I can use? Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337830 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Fake URLS
I am trying to make my e-Commerce item links for efficient. For example, I would like the link for an IPod Tocuh 32 GB to be http://www.domain.com/ipod_touch_32_gb instead of http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point. I'm assuming that the url http://www.domain.com/ipod_touch_32_gb will throw some kind of 404 error and I will need to change the web server custom error for this 404 error to run some kind of script. Has anyone implemented URLs like this before? If so, how? Are there any scripts out there that I can use? Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fake URLS
What you're looking for is generally called SES or search engine safe/friendly URLs. The incoming SES URL has to have something that can be used to look up the real URL behind the scenes. So if you wanted to use ipod_touch_32_gb, then that would have to be the product name. You could also add the item number and use that. http://www.domain.com/ipod_touch_32_gb Becomes http://www.domain.com/ipod_touch_32_gb/123456789 There was a discussion on this just the other day in fact. http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61959 -Original Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Friday, October 01, 2010 10:44 AM To: cf-talk Subject: Fake URLS I am trying to make my e-Commerce item links for efficient. For example, I would like the link for an IPod Tocuh 32 GB to be http://www.domain.com/ipod_touch_32_gb instead of http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point. I'm assuming that the url http://www.domain.com/ipod_touch_32_gb will throw some kind of 404 error and I will need to change the web server custom error for this 404 error to run some kind of script. Has anyone implemented URLs like this before? If so, how? Are there any scripts out there that I can use? Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm