I do this via a CF error handler in a CMS; the non-existant page
"/something_with_your_keywords.html" causes the CF-based 404 page to
kick in, wherein I look in the DB for the article (indexed by UUID by
the way) that corresponds to the URL. This article gets served to the
user along with a 200 found header (so it's no longer a 404 page as
far as the user/search bot/whatever is concerned). Of course if the
alias doesn't correspond to an article, a friendly 404 error is
displayed. I also allow multiple URLS (at various directory depths and
across multiple subdomains) to point to the same article, so we can
reuse content.

On 1/6/06, Munson, Jacob <[EMAIL PROTECTED]> wrote:
> > What I would really like to do is something like point to a
> > non-existant page off the root, do a 404 check and parse the
> > file name to see if it can be converted to a name pair
> > variable such as:
> >
> > http://www.aftershockweb.com/panasonic-massagechairs.cfm.
>
> I've heard of people doing such tricks using web server modules, like
> Apache's mod-rewrite (I think that's the one).  Haven't done it myself,
> but it's a pretty useful and fancy trick!  :)

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228600
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