Can I add code to title tags?
Can I do this in my title tags & not upset the search engines?
For example:
<title>
<%If InStr(1,Request.ServerVariables("PATH_INFO"),"junk food-",1) >= 1 Then%>
<%If Country = 1 OR Country = 2 Then 'NorthAmerica, show states%>
Icecream, Candy, Pop, Chips<%=GetState(State)%>
<%Else%>
Icecream, Candy, Pop, Chips<%=GetCountry(Country)%>
<%End If%>
<%ElseIf InStr(1,Request.ServerVariables("PATH_INFO"),"Heal thyFoods",1) >= 1 Then%>
<%If Country = 1 OR Country = 2 Then 'NorthAmerica, show states%>
Fruit, Vegetables, Dairy & Meats<%=GetState(State)%>
<%Else%>
Fruit, Vegetables, Dairy & Meats<%=GetCountry(Country)%>
<%End If%>
<%Else%>
Sugar Substitutes, Salad Dressings, Other Fats.
<%End If%>
</title>
|