News:

Wondering if this will always be free?  See why free is better.

Main Menu

Meta Tags

Started by Putnam, March 22, 2009, 02:10:15 PM

Previous topic - Next topic

Putnam

How do I set meta descriptions?  I can edit the tags but not description.  In google results, my site just says in the description
Name: TheCoolList - Index
Description : TheCoolList - Index
http://www.thecoollist.110mb.com/ [nofollow]

Name : Fun Pranks - thecoollist
description : Fun Pranks - TheCoolList
http://b;ahblahblah

It's really frustrating me, how can I set the description to something other than the pages name, such as my own text or the first paragraph or so of the thread?

shadow82x

You can adjust the meta description in

In:

Themes / {your default theme} / index.template.php

Find:
<meta name="description" content="', $context['page_title_html_safe'], '" />

Replace:
<meta name="description" content="MY SITE DESCRIPTION" />

However google doesn't always respect your meta description and theres a good change this will not work.
Colin B
Former Spammer, Customize, & Support Team Member

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

videogamemojo

Hey How2,
where do you go to actually edit the tags?  Saw the mods out there but figured there must be a way to actually edit the templates, not sure though. 
Visit http://www.videogamemojo.com and "Get Your Mojo On!"

KahneFan

Quote from: Shadow82x on March 22, 2009, 03:54:37 PM
You can adjust the meta description in

In:

Themes / {your default theme} / index.template.php

Find:
<meta name="description" content="', $context['page_title_html_safe'], '" />

Replace:
<meta name="description" content="MY SITE DESCRIPTION" />

However google doesn't always respect your meta description and theres a good change this will not work.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Advertisement: