Friday, May 22, 2009
 

My son has a landscape business.  And he doesn't have a website for it.  Rather than having him go to some outfit who will charge him a few hundred (or thousand) dollars for building him a website, so he can finally drop the overpriced Yellow Book and Yellow Pages ads, it seemed that I ought to help out and create a nice one -- for free!  Well, anyway, at cost.

So, viola!  http://www.greenscapeconstruction.com

The site went live just a few days ago, and it's still a bit what I would call spare.  You know, less content than one would like?  But I'm still working on it.  There's behind-the-scenes infrastructure to build yet (for example, it doesn't use a database for its dynamic features so far -- that's on the way -- and although there's a login for administration, there's no administration features yet.  But as a fun little project it is just great!  I plan to shove some jQuery effects into it before I'm done.

Now for the Doh! moment.

Ideally, if one wants search engines to index your site correction, you have to have some meta tags (although those are nowhere near as important as they used to be), but Yahoo! tells us that the site's Title is very important.  And I couldn't get the site title to change from the default.  I changed it in the html part of the .aspx on the master page, but it wouldn't change in reality.  It was starting to make me crazy -- what on earth could be causing that?  Some kind of weird caching thing going on?  Turns out: Nope.

I was setting the Title text in two places.  Once in the .aspx, and then in code during Page_Load.  Yikes!  The Page_Load event code had exactly the same Title that the original .aspx had.  So OF COURSE it's not going to change. 

Gotta watch for that kind of thing.


Family | Geek Speak
5/22/2009 3:51:20 PM UTC  #    Comments [0]

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):