In the quest to build mysoundproperty.com, I've been working on tying up all the loose ends left over from our installation prior to moving over to Ruby-on-Rails. One of the things I've been kicking around is...should i use some nifty .htaccess redirects to map subdomains to individual controllers. This would mean my current urls that look like http://mysoundproperty.com/app/email_dean would turn into http://app.mysoundproperty/email_dean (which doesn't work). Dean Orrico's blog would become http://blog.mysoundproperty/dean instead of http://mysoundproperty.com/blog/dean. I like this just from more an aesthetic viewpoint, but i think in rails management of the subdomains isn't exactly straightforward.


This would be nice as we'd like to put up some content specific pages dedicated to the Seattle, Bellevue, Kirkland, Sammamish, Edmonds, and Mukilteo areas. In this case you could imagine that the town names could be subdomains with several actions associated with each, such as community, news, market, etc. This would map nicely to http://mukilteo.mysoundproperty.com/community.

Anyhow, just some thoughts for this Sunday. Until next time...

PS somehow our random searches are still rocking:


0 comments:

Post a Comment