We do something similar to create "custom domains" - but it is really a
parlor trick. We set a wildcard in the dns:

 *.mydomain.com x.x.x.x.x       -       points to our web site....

This allows any subdomain starting with anything that is not specifically
defined by dns to be routed to that ip address. We can then do something
like:

bob.mydomain.com
mary.mydomain.com
admin.mydomain.com
socks.mydomain.com
keyword.mydomain.com
specialprogram.mydomain.com

You get the idea.  The index page (or missing file handler or whatever)
teases out the first item in the domain string and displays content
accordingly. Using the approach below combined with a missing file handler
the domain could be 1234567.mydomain.com/doge_magnum_headers

Obviously this may be no "better" than the technique described below, but it
works well for things like personal sites (think real estate), marketing
content and the like. If you have "affiliates" that you are tracking they
may brighten at the prospect of having their "own" url :)

Keep in mind that it would need a dedicated IP address - otherwise you will
have to set a host header for every one of the strings - which would sort of
defeat your purpose.

-Mark


-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 9:34 PM
To: CF-Talk
Subject: Re: SEO/SES URL's vs. UUID as primary key


I never got into any sort of specifics in that thread.  Here are some:

First of all, I take query output and use that to come up with a
filename.  For the sake of argument I'll make that url

dodge_magnum_headers_1234567.cfm

where the first three elements are keywords pulled from the db record and
the last item is the record pk.  Its worth noting I actually go thru a fair
bit of washing and scrubbing to ensure the keywords pulled from the db are
urlsafe and to my liking.  No apostrophe's; replace dashes with
underscores.  That sort of thing.  I also preface the url with a folder name
that also contains keywords, but which I know doesn't exist (although
strictly speaking, it could if I wanted to add a bit into my 404
processing).  So the full pseudo url winds up looking like this:



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