nixforce wrote onĀ 2010-08-31: > Im trying to create permalinks for my urls.. > Im thinking of doing this.. > I want to change the 404 file missing template to a cfml page that > will read the url, and pull the content based on it..ie > http://www.howcrafty.co.za/viewarticle_a_long_string_describing_the_artic > l e_33333.cfm > The numbers at the end will be the ID for the record in the DB... and > the first bit , viewarticle is the action i want to do, so the above > would pull the article with id of 33333. > Could i use cferror in the application.cfm to process 404 errors?
To me it sounds like an excellent task for your favorite url rewriting module, e.g. mod_rewrite and knock-offs. Cheers, Hugo -- Hugo Ahlenius fraxinus (at-sign) oxel.net http://www.oxel.net -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
