I've got a client that's decided to host a bunch of different sites
under one domain. Though the hosting company is suggesting that I use a
PHP script to handle the domain redirects, I'm a PHP noob, so I'd rather
go with something I know.
So, in the root directory I figure I can just add this to the
Application.cfm file to take care of it:
<CFIF #CGI.SERVER_NAME# CONTAINS "abc.com">
<CFLOCATION URL="whatever/index.cfm">
</CFIF>
Is there a better solution? I've also warned the client that this is
going to make it darned hard to get the different domains spidered
correctly by the search engines, but what the heck....
Haven't tried it yet, but maybe include an index file with links
containing a paragraph or two with proper descriptions and keywords for
each site it's linking to. Regular users visiting the site wouldn't see
this because they'd get redirected by the application file. I'm not 100%
sure if the spiders would see it either but it's worth a try.
--
-----------
Les Mizzell
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192190
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54