Hi,
I like to have different meta tags based on a condition.
which global / variable I can use inside the file meta.tpl to identify that the page is a story and not a list (category/tag)?
is there somewhere a list with the most important globals / vars which I can use inside the template files?
Thanks
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| conditional meta tags? |
| |||
|
for now I used this solution: Code: {if $pagename eq "story"}
{if $story_status eq "published"}
<meta name="Robots" content="index,follow" />
{else}
<meta name="Robots" content="noindex, follow" />
{/if}
{else}
{if $pagename eq "faq-en"}
<meta name="Robots" content="index,follow" />
{else}
<meta name="Robots" content="noindex, follow" />
{/if}
{/if}
|
| |||
| Quote:
While I'm using an ol pligg version I needed to change some source too because the status var was empty. My site is 8 month old and there are 1200 pages indexed, a lot of them have the status discard ![]() Only adding the "nofollow" to outgoing links is not enough because Google will index those story pages too (if you keep spammy submissions for a few days) |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tags not cloud in Pligg v9.9 | bhatiacane | Bug Report | 4 | 05-03-2008 02:16 AM |
| Meta Tags are still saying Pligg? | bbrian017 | General Help | 27 | 01-09-2008 03:11 PM |
| Set Character Limit for Meta Description Tags? | blaze | General Help | 0 | 12-23-2007 05:29 PM |
| Custom Meta Tags and Custom Titles | spufz | General Help | 1 | 06-17-2007 04:40 AM |
| Meta Tags | canadapc | Modification Tutorials | 6 | 12-01-2006 08:55 AM |







Linear Mode

