Jeremy,
    That sounds cool but do you have any sample code that explains how this
is accomplished?

Brett
----- Original Message -----
From: "Jeremy Ridout" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 1:31 PM
Subject: RE: Crawler-Friendly URLs in CF


> Actually, the missing template handler (MTH) works very well. I haven't
seen
> any appreciable performance hindrances sending every request through the
> MTH. It's easy to maintain because it uses exactly the IDs from the
> database. You could get very fancy with it, but if you have relatively
> simple requests, there is no need. You could make a URL look like:
> "mysite.com/234.html" and that points directly to the record ID 234.
>
> You just need to take your time building the actual handler so that you
deal
> with REAL missing templates, but that's not hard at all.
>
> You could just build your site to work off of URL id's
> ("mysite.com/index.cfm?id=234") and then build the MTH to answer
> "mysite.com/234.html" (and to deal with other problems). You then make
sure
> all of the internal links use the MTH style of URL and you're done. You
end
> up with two ways of accessing the same page.
>
> On my site, the index.cfm shuffles the request off to other handlers. I
just
> built the MTH to do the same thing. Therefore, you only have to maintain
the
> code that actually builds the page in one place. You just get to it from
> different directions.
>
> I personally like the MTH method. It's clean. Easy to run. Cool factor is
> way up there. The biggest limitation again is playing with those client
> variables (using client management, how do you perform a log in without
> using a cflocation or the MTH?). If you can get around that, and it's not
> hard (just use a real template to do that work), then you're home free.
>
> FYI, I designed this little process in CF 4.5. It works great on CF 5, but
I
> haven't tested the client variable limitation to see if it still exists or
> not.
>
> Jeremy
>
> > -----Original Message-----
> > From: Palyne Gaenir [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 09, 2001 1:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Crawler-Friendly URLs in CF
> >
> >
> > Thanks tons Jeremy, that was very educational.
> >
> > I hate to say it but every option looks like it's a major pain in the
> > butt to implement and to track and maintain.  If it isn't one thing
> > it's another ... I have a site coming up that is 100% volunteer on my
> > part, and it's going to be massive (a library sort of site), and one
> > of the people involved in a search-engine freak, so I'm trying to
> > come up with how to make the site engine-friendly to stave off his
> > impending coronary over my .cfm files with ? in all paths.  But it's
> > starting to sound like the work to do it and store it is going to be
> > waaaay more trouble than my altruism was ready for....
> >
> > Regards,
> > Palyne
> >
> >
> > --------------------------------------------------------------
> > -----------
> > This email server is running an evaluation copy of the
> > MailShield anti-
> > spam software. Please contact your email administrator if you have any
> > questions about this message. MailShield product info:
> www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org



-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to