[thelist] query string manipulation

Steven Gongage sgon at osceola.org
Fri Sep 7 14:39:47 CDT 2001

Thanks guys!  My first post here and I got the information I needed!  Much appreciated.

404!!!  Why didn't I think of that... need to play with it to make sure I'm thinking what your saying, but I know where to go now at least.  I'll do some testing for overhead as well, but I'm thinking its probably negligible, right?

If anyone knows of any documentation on this subject that's out there, I'd be interested as well.  

Thanks again!


>>> jeff at members.evolt.org 09/07/01 12:04PM >>>

> From: Steven Gongage
> I'm building a site from the ground up in Coldfusion 5
> on a 2k server running IIS 5.  [...] I came across an
> article about how to "hide" query strings by replacing
> all "&" and "=" with "/", in other words making the
> entire URL look like a long path.
> Example:
> http://blah.com/index.cfm?fuseaction=qs&pageaction=add&var1=123 
> http://blah.com/index.cfm/fuseaction/qs/pageaction/add/var1/123 

sorry to say, but that's old news.  hidden query strings should, at the very
least, look like this:


or, at their very best, look like this:


notice in both examples there isn't a leading index.cfm right after the
domain name.  that's crucial for some search engines as they've gotten wise
to developers mucking about with the url and replacing the ?, =, and & with

the last time this thread took place there were skeptics, but we've been
doing it long enough here at work to know it makes a difference.

here's a couple of sites we've built that use this technique.


i'm not going to give away all of our secrets on how this is accomplished on
iis5, but i will give one big hint that should get you headed in the right
direction -- 404.

> But in IIS I don't see any way of keeping it from
> resolving the URL and going to the full path other
> than defining all those "directories" and redirecting
> them individualy.  I'm going to have WAY too many
> directories to keep that strait.

actually, iis shouldn't care about the appended urls.  instead, it should
try to load up the index.cfm in the root of your site.

> Has anyone tried this on IIS 5?  Is it even possible?

yes, all the sites above are running on iis5.  so, it's definitely possible.
just to prove my point, here's a couple of sites running off a templated
system we built that use the query strings like you're talking about.  these
are all running on a server running iis5.


good luck,


jeff at members.evolt.org 

For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 

More information about the thelist mailing list