Ugh!
Not a single pound sign in any of that code is needed. Sorry to sound like I'm
being picky, but it's a pet peeve for many.
I know
it's hard to know when you do and don't need them. As a rule, you don't need
them unless you're referring to a variable inside a quoted string or between
tags like CFOUTPUT, CFQUERY, CFMAIL, etc.
/charlie
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Stead
Sent: Sunday, June 09, 2002 5:12 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFTALKTor] CFUN 2K<!--- Use rec_id if it exists, if not use path_info ---><CFIF #ParameterExists(id)# IS "No"><CFIF #ParameterExists(CGI.path_info)# IS "Yes"><CFSET #id_path# = #Right(CGI.path_info, Len(CGI.path_info)-1)#><cfset x = #id_path#><cfset id1 = Replace(x, ".htm", "", "All")><cfset id = Replace(id1, "/", "", "All")></CFIF>
</CFIF><CFSET #url.id# = #id#>
<cfif isdefined("url.id")><cfset id = #url.id#>It's really messy but it will allow you to write URL strings like thisindex.cfm/pleaseindexme.htm-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Erik Fenkell
Sent: Thursday, May 09, 2002 12:16 PM
To: [EMAIL PROTECTED]
Subject: [CFTALKTor] CFUN 2KHey Everybody,2 questions:1- I would like any advice on search engine optimization for dynamic webpages. I know that engines have trouble indexing links with '?' in them ie.index.cfm?fuseaction=pleaseindexme. Are there any custom tags or processes to help solve this problem ie. making links look like directories instead of url variables. or anything else.2 - Is anybody driving down to CFUN 2K that might want someone to share expenses with?Thanks a bunch!Erik
