Posted - 03/22/2021 : 12:16:37
Try this - It's what I use... Categories.asp <title><% if pagetitle<>"" then response.write pagetitle elseif topsection<>"" then response.write sectionname & " | " & topsection & " for sale by COMPANY NAME " else response.write "SOME GENERIC TITLE THAT WILL SHOW WHEN NOTING ELSE DOES" end if %></title> <meta name="Description" content="<% if sectiondescription<>"" then response.write replace(sectiondescription,"""",""") elseif sectionname<>"" then response.write "Shop " & sectionname & " now. COMPANY NAME has " & sectionname & " in stock at the best price" else response.write "Shop our selection of WIDGET products online. You'll find WIDGETS and other items." end if %>"/> Of course you need to replace some of that with your message... Products.asp <title><% if pagetitle<>"" then response.write pagetitle else if topsection<>"" then print topsection & " | " print sectionname print " for sale by COMPANY NAME " end if %></title> <meta name="Description" content="<% if sectiondescription<>"" then response.write sectiondescription else response.write "Shop WIDGETS for " & sectionname & ". The best deals on " & topsection %>"/> See if that gets those pages going.. David
|