Gossamer Forum
Home : Products : Links 2.0 : Customization :

Help with meta tags

Quote Reply
Help with meta tags
I need help

If anyone can tell me how to define different meta tags, descriptions
and different specific title (not category title, but longer custom title)
for every page that is built using templates (not site_html.pl).

How to define different meta tags, descriptions for different categories, and
title for specific category, or every page in category, that will build with pages.

Trough this way I would have for every category or page different meta tags, descriptions
and title.
Targeting specific keywords, meta tags and descriptions and more specific title will
increase search engine ranking and people asking informations on search engines
will get more specific and detailed results.

In links 2.0 only feature is to have same meta tags, description and title on all pages.
How to change this,

Please help me


Nino Marini
istrigo@yahoo.com




Quote Reply
Re: Help with meta tags In reply to
In Reply To:
How to define different meta tags, descriptions for different categories, and
title for specific category, or every page in category, that will build with pages.
That is already available through the admin.cgi script where you input different META descriptions/META keywords. And the category.html file already contains the appropriate tags you need to call the different META fields in the categories.db and also the category title.

In Reply To:
In links 2.0 only feature is to have same meta tags, description and title on all pages.
How to change this,
Wrong...look again in the category.html file...


Regards,

Eliot Lee
Quote Reply
Re: Help with meta tags In reply to
Can these same variables be done for the detailed page.

How can I use related meta tags and title on the Detailed page do the same as catagory?

Or are they the same in emplimenting?

MERYY XMAS

Ray

Quote Reply
Re: Help with meta tags In reply to
You would have to add the META fields in your links.def and upgrade your existing links.db file to include META tags in the Detailed pages.

OR you could simply use the following in the detailed.html template file:

Code:

<%if Description%>
<META NAME="description" CONTENT="<%Description%>">
<%endif%>


To get the "Keywords" META tag, you would have to add another field called Keywords in your links.db as I already metioned above.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Help with meta tags In reply to
Just found my Bi-Nocks and saw that in view source that there
was a space tag in the way for the if tag to work....

So for note to anyone else....
when using 'If tags' they can NOT have anything else on its line....<grin>


Ray


Quote Reply
Re: Help with meta tags In reply to
In Reply To:
when using 'If tags' they can NOT have anything else on its line....<
Unless you use the Enhanced Template.pm Modification that allows you to have TAGS on the same line.

Regards,

Eliot Lee
Quote Reply
Re: Help with meta tags In reply to
Thanks for that tip!

So many great MODs so little time.

PS. To all MOD makers... Big THANKS! - for making life a little easier.

Ray