Aidan,

What I often do (if I want to be sure of search engine indexing) is append a ".htm" at 
the end of my "Search Engine Safe" URLs (of the type you describe).  I'm not sure what 
'plainURL' is (guess I'm out of touch) but it's trivial to strip a trailing .htm from 
the CGI.SCRIPT_NAME variable (or CGI.PATH_INFO on IIS) before parsing it for your 
vars.  So your URLs would look something like 

'/index.cfm/action/SomeID-1.htm'

This looks like a plain .htm page to any spider (unless they're especially trained to 
guard against this, I suppose).

Another trick is to use . as your variable/value separator (instead of the - in the 
example).  Periods are certainly valid characters in any URL.  Also with fusebox if 
I'm parsing out the variables this way anyway, I just assume the first value will be 
my "fuseaction" so no need to pass a name/value pair for that.  Often the action 
determines what the next variable might be (if any), such as an ID (so again, the var. 
name might not be necessary).

Oh yeah and also log analyzers like to see the .ext at the end of requests, otherwise 
they assume it's a folder (sometimes undesirable).

HTH,
-Max
(back from a long cf-talk hiatus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to