Allways show meta tags

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2006, 03:31 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 66
The meta is only shown on pages where there is only 1 story.

When you replace the code (in the meta.tpl) you have the meta tags on every page.

{if $meta_description neq ""}
<meta name="description" content="{$meta_description}" />
{/if}
{if $meta_keywords neq ""}
<meta name="keywords" content="{$meta_keywords}" />
{/if}

into

{if $meta_description neq ""}
<meta name="description" content="{$meta_description}" />
{else}
<meta name="description" content="YOUR OWN DISCRIPTION" />
{/if}
{if $meta_keywords neq ""}
<meta name="keywords" content="{$meta_keywords}" />
{else}
<meta name="keywords" content="YOUR OWN KEYWORDS" />
{/if}
Reply With Quote
  #2 (permalink)  
Old 12-05-2006, 09:21 AM
New Pligger
 
Join Date: Nov 2006
Posts: 18
Hi Guys, a couple of meta tag Q's

1. Does the dynamic nature of the meta tags mean that you do not have to adjust them no matter what your site content is about? In other words, does the meta.tpl file adjust according to the content on your site, therefore, not requiring you to adjust it?

2. If not, does the coding change from above take care of the issue?

Thanks! Jay
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Character Limit for Meta Description Tags? blaze Questions and Comments 2 04-08-2009 02:09 AM
Question About Meta tags? gjrb29 Questions and Comments 1 02-24-2009 11:09 PM
Tags not cloud in Pligg v9.9 bhatiacane Questions and Comments 4 05-03-2008 03:16 AM
Meta Tags are still saying Pligg? bbrian017 Questions and Comments 27 01-09-2008 04:11 PM
Custom Meta Tags and Custom Titles spufz Questions and Comments 1 06-17-2007 05:40 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development