Forum Moderators: open

Message Too Old, No Replies

ASP generated Title and metatags

         

cml1234

12:17 pm on Jan 19, 2004 (gmt 0)

10+ Year Member



I am fairly new to ASP.
I have almost finished a project where items are displayed from the info in the database but i was wondering, there are only 1 or 2 pages of asp, but a selection given by the user will be unique from the content in the database. So, does anyone know how i can make the page title and meta tags unique for each page?

IanTurner

12:54 pm on Jan 19, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You can use ASP commands in the page header just as in the page body, it isn't difficult to write meta description and keywords from a database entry in the same way as you write the content.

How sophisticated you make this is another matter entirely.

f00sion

6:19 pm on Jan 19, 2004 (gmt 0)

10+ Year Member



You can put any asp variable between the title tags and when the page is served up the value of the variable will be put there and seen by the users browser.

<title><%=productname%></title>