PDA

View Full Version : changing meta title and description for tags.php


neetusn
03-28-2011, 11:35 AM
may i know the condition which i can put to edit meta title and description for tags.php page by search keyword

Lynne
03-28-2011, 03:22 PM
I don't understand what you want.

neetusn
03-29-2011, 03:10 AM
I need to change metatitle and metadescription for only tags.php page.
Please give me the condition which i can put it in the headinclude so that rest of the pages follow defaults to the standard Meta information.
The Meta information for tags.php would be main tag name.

Lynne
03-29-2011, 03:32 AM
You can just use THIS_SCRIPT for your condition:
<vb:if condition="THIS_SCRIPT == 'tags'">meta this that<vb:else />meta something else</vb:if>

neetusn
03-29-2011, 04:23 AM
I need to put metainfo as tag name but it is not available in headinclude template.
For ex the variable name is {vb:raw criteriaDisplay} which gives me tag name.