Meta Tags

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
siringo
Regular
Posts: 92
Joined: Fri Jul 28, 2006 5:39 am
Location: Australia
Contact:

Meta Tags

Post by siringo »

Hi,

I'm reading up on search engines and optimising web pages for them etc. I've read that the most important meta tags to use are the Title and Description tags.

I've viewed the source of the pages I'm using in my blog and I can see the Title tag, but not the Description tag.

Can it be added, and if so, how can I add relevant content to it for each page?

Thanks,
Matt.
Thanks,

Matt.
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

2 choices. First - you could edit your template/theme's index.tpl, and in the <head> section, add something like:

Code: Select all

<meta NAME="DESCRIPTION" CONTENT="whatever you want enclosed in quotes">
you can also add something like:

Code: Select all

    <meta NAME="KEYWORDS" CONTENT="whatever keywords separated by commas, everything enclosed in quotes">
Second choice - I believe there is a "head nugget" plugin. It accomplishes basically the same thing without revising the index.tpl file.

Regardless of which option you select, you can also add this:

Code: Select all

    <meta NAME="revisit-after" content="1 days">
You might also want to google "robots.txt" for additional ideas.
A decent starting point for a robots.txt file (located in your website root) might be:

Code: Select all

User-agent: *
Disallow: /bundled-libs/
Disallow: /deployment/
Disallow: /docs/
Disallow: /htmlarea/
Disallow: /include/
Disallow: /lang/
Disallow: /plugins/
Disallow: /sql/
Disallow: /templates/
Disallow: /templates_c/
Disallow: /uploads/
The mere existence of a robots.txt file encourages search engine robots to visit.
=Don=
siringo
Regular
Posts: 92
Joined: Fri Jul 28, 2006 5:39 am
Location: Australia
Contact:

Post by siringo »

Thanks for all the help there Don.

Is there a way to be able to add a description when I create the post or will I have to manually add it after each post is created?

Thanks again,
Matt.
Thanks,

Matt.
woocha
Regular
Posts: 33
Joined: Sat Jul 21, 2007 2:15 pm
Location: online at woocha.com
Contact:

Post by woocha »

yeah man, thanks for the info. I was wondering if I could manually updat my meta info.
Free online auctions at:
http://www.woocha.com/auction
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, on spartacus you can find a Meta keywords event plugin.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
siringo
Regular
Posts: 92
Joined: Fri Jul 28, 2006 5:39 am
Location: Australia
Contact:

Post by siringo »

Garvin, how would I go about getting one of the smart people here to create a meta description plugin?

From what I've read, search engines don't bother with the keyword meta tag anymore, but they do like to read the title and description tags.

Thanks,
Matt.
Thanks,

Matt.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
siringo wrote:Garvin, how would I go about getting one of the smart people here to create a meta description plugin?
Whats not good about the existing one? serendipity_event_metadesc...?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply