Give your title tag an id and runat attribute. then declare it in code behind And then you can retrieve data from a dataset and set the inner text property equal to the text or whatever. <title id="PageTitle" runat="server"></title> Protected WithEvents PageTitle As HtmlGenericControl PageTitle.InnerText = ds.Tables(0).Rows(0).Item("ArticleTitle").ToString I hope that this works for you Regards
I use Wordpress for all of my pages, and I've found this plugin to be especially useful for creating custom Title tags: netconcepts.com/seo-title-tag-plugin/ You want to look at more than just the title tag, but the actually URL, for instance if your keyword was "gumballs": candymachines.com/gumball-reviews/best-gumball-ever/ so you can incorporate in your keyword into the structure of the URL
if you use wordpress or anything that is based on php... use this.. this code is used to randomize the title. <?php $title_array = array("Title 1", "Title 2", "Title 3", "Title 4", "Title 5", "Title 6"); $random_number = rand(0, count($title_array) - 1); ?> PHP: and put the title_array between <title> tag ... example: <title><?php echo $title_array[$random_number]; ?></title> PHP: that was if you using asp.net