If you're on IIS, I highly recommend downloading ISAPI Rewrite 
(www.isapirewrite.com), then use the following rules in httpd.ini:


[ISAPI_Rewrite]
RepeatLimit 20

# Defend your computer from some worm attacks
RewriteRule (/dyn/.*?)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? $1(?2$2&:\?)$3=$4?5$5: 
[N,I]
RewriteRule /dyn(.+?)/?(\?.*)? $1.cfm$2 [I]


.. You can change the 'dyn' to whatever you want, but that would enable URL's 
like:

http://www.abc.com/dyn/info/articleid/34

http://www.abc.com/info.cfm?articleid=34

All URL's without the /dyn/ (or whatever you decide) will be processed normally.

With a bit of foresight in naming your pages and variables, you can accomplish 
fancy URL's like:

http://www.abc.com/dyn/view/product/shoes

Have fun!


Jack 

>Can anyone point me in the direction of a tag or tutorial on how to
>convert a url and all its bits into a Search engine firendly one? i.e.
>uses all \ rather than the standard ? and = and &
>
>Specifically for CF 4.5 right now, but also for MX later.
>
>And is it really worth doing? Will it make it easier to get our sites
>into engines other than google?
>
>What are the arguments against doing it?
>
>Thanks
>
>Duncan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189792
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to