Hello all, I use Asp.net 1.1 vb script and MS SQL server 2000. I'm wondering if there's a way to put a database field into the title meta tag. For example if I have a detail page for cars which pulls the text info from the SQL data base and I want the field "name" in the title tag
details.aspx?name=Hummer would have the Title meta tag as Cars..."Hummer"
and
details.aspx?name=Corvette would have the Title meta tag as Cars..."Corvette"
so that for each car showing in details.aspx page it wouldn't have to have the same title tag for search engines
I am not understanding how the SQL database comes into play here. Could you explain further?|||The SQL database comes into play bcause it danamically creates what look like mutiple pages from a single details page. Lets say the details page calls up fruits from the SQL database. and the Name column has, oranges, apples and blueberry. The details page can be
details.aspx?name=orange
or
details.aspx?name=apple
or
details.aspx?name= blueberry
and have info on each but all three will have the same Titile tag because they all run off of the details.aspx page.
So a solution could be to insert the "name" into the title so that the title meta tag and at the top of the web browser would also hchange for each fruit
sql
No comments:
Post a Comment