Forum Moderators: open

Message Too Old, No Replies

How can I dynamically change Title Tag using ASP

         

QNetwork

8:39 pm on Nov 4, 2002 (gmt 0)

10+ Year Member



I have a DB oriented site built on using asp. I want to change some meta tags like title, keywords and descriptions dynamically. For example example.asp?paramter=1 brings up a page with the data from DB where the meta tags are related to "parameter=1". I have seen something like that using ASP.NET. I want to use asp. Can somebody please help.

Thanks in advance.

andreasfriedrich

9:03 pm on Nov 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you already have a DB oriented site built on using asp then I would suggest you handle title, keywords and descriptions the same way as the other content you get from your db.

Add fields for the title, keywords and descriptions to your db. If a certain resource is requested look up the appropriate record in the database, retrieve the content and put it into the HTML structure you are going to send to the requesting UA.

Andreas

txbakers

10:30 pm on Nov 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's not difficult, it's just a matter of reading the tables with your keyword, title, etc. data and bringing it in based on the parameter.

I've done CSS styles with ASP database data. No big deal.

After all, anything within the delimiters <%= %> will be replaced by the data.

topr8

10:39 pm on Nov 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



... i've produced a db driven site using asp and its straightforward to insert the fields from your tables wherever you want ...

additionally from a promotion point of view i would really make use of the title tag to push an important keyphrase

QNetwork

11:37 pm on Nov 4, 2002 (gmt 0)

10+ Year Member



Thanks guys/gals for your help. I do not know I can complete this before Google completes this month's crawl. But I'll get to work right now.