dotSilver Dating Partnership Network
Partner Home - Partner Sign-Up - Software - FAQ
Forum: Forums - Reply - Registration - Search

dotSilver Network Partner Support Forum / Your Dating Site Promotion / How do I add unique meta tags to script?
Author Message
wetsicle@wetsicle.co m


Posted: 28 Jun 2005 15:09:06


I used a meta tag generator to create unique meta tags for my site and the resulting code is HTML. I know very little about coding, but through searching it looks like I need to change it to PHP...something like this?

define('TEXT_META_TITLE', 'Meta Title');
define('TEXT_META_DESCRIPTION', 'Meta Description');
define('TEXT_META_KEYWORDS', 'Meta Keywords');

raybman
Member

Posted: 14 Jul 2005 11:03:44


Title and Description are edited in lang-English.php. ,
look for Meta-tags and Page titles sections

To add new ones I hard coded them into _body-pre.html.

Seems to be the only way.

xtianfr
Member

Posted: 5 Jan 2006 08:57:20


I don't know exactely what and how you changed _body-pre.html code Ray, but, your site is same than the other partners' ones, I mean without keywords ; only title and description are available except for LoveCompass site !!???!!!
I changed also in langs files, but unsuccessfully.
So, I made the following changes in _body-pre.html :
suppression of {if $meta_keywords} {/if}
and replacement of {$meta_keywords} by the wanted words ; for sure that's not the best way, but it's working.

raybman
Member

Posted: 5 Jan 2006 15:06:24 - Edited by: raybman


My earlier post was back in July, since the upgrade many things have changed.

Add a line in the index.html file.

Below this line:
{assign var=meta_description value=$_lang.META_INDEX}
Add:
{assign var=meta_keywords value=$_lang.META_KW_INDEX}

For all other pages, hard code your keyword meta-tag in _body-pre.html
For example;

Below this line:
{if $meta_description}<meta name="description" content="{$meta_description}" />{/if}

Add:
<meta name="keywords" content="your, keywords, here, bla, bla, bla">

Those "if" statements don't seem to be doing their job.

Ray

Forum posts are closed
 » Name  » Password 
 


Powered by miniBB 2.0 RC2b © 2001-2008