|
| |
|
|
wehaveasolution
Posts: 1 Joined: 10/10/2005 Status: offline
|
Can I add this code between my title tags? - 10/10/2005 11:22:38
Can I do something like this in my title tags & not upset the search engines? For example: <title> <%If InStr(1,Request.ServerVariables("PATH_INFO"),"junkfood-",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"),"HealthyFoods",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>
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Can I add this code between my title tags? - 10/10/2005 11:55:53
asp code can be placed anywhere within html - it is processed before the html is servered.
_____________________________
Dan
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|