EllisLab text mark
Advanced Search
1 of 4
1
   
SEO: Meta Tags
Posted: 25 January 2008 12:00 AM   [ Ignore ]
Avatar
Joined: 2004-05-14
20504 posts

Another part of SEO that many people place importance on is the ability to have appropriately populated meta tags.  Using ExpressionEngine, it is extremely easy to have page-relevant meta tags by making use of the ability to set up your own custom fields, categories, and even tags.

Onwards!

 
Posted: 24 January 2008 11:54 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-24
1210 posts

Thanks for the mention Lisa!

I guess I am lucky I just released version 1.4.0 yesterday smile

Cheers Leevi

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

 
Posted: 24 January 2008 11:56 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-14
20504 posts

Good timing. =)

 
Posted: 25 January 2008 07:08 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2003-12-30
5 posts

Especially when people either blog a lot or very seldom, the filling out of a description-field for every single entry can be (or feel) tiresome.

To make sure every page always has meta-description and -keywords, we embed some default metas. Every time the author does not fill out the extra field, they get inserted automatically:

<meta name="description" content="{exp:weblog:entries weblog="{my_weblog}" rdf="off"}{if meta-description}{meta-description}{/if}{if meta-description==""}{embed="{my_template_group}/default-description"}{/if}{/exp:weblog:entries}" /> 

grin

 Signature 

Still blogging after all those years.

 
Posted: 25 January 2008 08:20 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-24
1210 posts
Melody - 25 January 2008 12:08 PM

Especially when people either blog a lot or very seldom, the filling out of a description-field for every single entry can be (or feel) tiresome.

To make sure every page always has meta-description and -keywords, we embed some default metas. Every time the author does not fill out the extra field, they get inserted automatically:

<meta name=“description” content=”{exp:weblog:entries weblog=”{my_weblog}” rdf=“off”}{if meta-description}{meta-description}{/if}{if meta-description==”“}{embed=”{my_template_group}/default-description”}{/if}{/exp:weblog:entries}” />

grin

Lg Better Meta has site wide default values for most SEO meta tags smile

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

 
Posted: 25 January 2008 08:28 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2003-12-30
5 posts
Leevi Graham - 25 January 2008 01:20 PM

Lg Better Meta has site wide default values for most SEO meta tags smile

My hint was for those, who also prefer solutions without Add-ons grin

 Signature 

Still blogging after all those years.

 
Posted: 25 January 2008 08:29 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-24
1210 posts
Melody - 25 January 2008 01:28 PM
Leevi Graham - 25 January 2008 01:20 PM

Lg Better Meta has site wide default values for most SEO meta tags smile

My hint was for those, who also prefer solutions without Add-ons grin

Of course smile

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

 
Posted: 25 January 2008 02:01 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-14
20504 posts

That’s a great tip, Melody!  You could also just use the word limit plugin to show only the first x words of the entry if no meta description is entered. =)

 
Posted: 27 January 2008 11:58 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Joined: 2007-03-14
101 posts
Lisa Wess - 25 January 2008 07:01 PM

You could also just use the word limit plugin to show only the first x words of the entry if no meta description is entered. =)

You may also find the “strip_p” plugin useful, if your entry fields come with surrounding paragraph tags.

I have been using the “replace” plugin, with some code given to me on the forums, to get rid of hard returns, non-breaking spaces and other artifacts:

{exp:replace find="/(<[^>]{1,}>|&nbsp;[\r\n]|[\r\n])/" regex="yes"
 
Posted: 28 January 2008 12:09 AM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-14
20504 posts

Great tip, Quena!  TruncHTML can also help with stripping typography for dual use custom fields. =)

 
Posted: 01 February 2008 07:21 AM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2006-10-22
1643 posts

Lg Better Meta has site wide default values for most SEO meta tags smile

I’m just trying to figure out if there is an option to have default keywords & description per weblog instead of site wide.
Any idea?

 Signature 

utilitEEs - Addons for EE

 
Posted: 01 February 2008 11:21 AM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2006-10-22
1643 posts
Lisa Wess - 28 January 2008 05:09 AM

TruncHTML can also help with stripping typography for dual use custom fields. =)

While I appreciate the usage of my plugin, in this case it won’t help, I think smile
It doesn’t strip anything, it just shortens text/html without leaving any html-tags open.

But to prevent things like this to happen:

<meta name="description" content="He said: "Good bye" and left." /> 

I’d recommend using {exp:xml_encode}{/exp:xml_encode} before shortening the text since you don’t want to have any quotation marks from the text messing up your markup.

<meta name="description" content="He said: &quot;Good bye&quot; and left." /> 
 Signature 

utilitEEs - Addons for EE

 
Posted: 01 February 2008 02:01 PM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-14
20504 posts

Ah, ok.  HTML Strip would be a better choice then.  Thanks, silenz. =)  And the extra tips!

 
Posted: 13 February 2008 09:59 PM   [ Ignore ]   [ # 13 ]   [ Rating: 0 ]
Joined: 2003-02-12
59 posts

I just installed the plugin and there is something missing that would be very helpful.  My EE site is primarily a blog.  I’d like to see the default system work a little differently regarding Title, Description and Keywords.  For these Meta tags, I’d like the defaults to be not the site defaults as they don’t make sense on individual posts, but instead the post title for Meta Title, post summary (or first X words of the Body) for Meta Description, and post categories + post tags for Meta Tags.  Then, when I write a post I would normally not have to plug anything in the Meta fields unless I wanted to change it from what is already in the post. As it is not, I have to write up the title, description and keywords for every new posts.  This proposed setup is much better for posts than having generic site defaults for individual and unique posts.

 
Posted: 27 March 2008 07:10 PM   [ Ignore ]   [ # 14 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
593 posts

I’m just getting started with LG Better Meta and am having trouble getting the settings from the Better Meta TAB on the PUBLISH page to override the Extension Settings in ADMIN.

As per the USAGE setup instructions, after I:

- Created a new entry in one of the weblogs listed in the Weblog IDs extension setting;
- Entered entry specific values;
- Added {exp:lg_better_meta} to the <head> of my Permalink template;

I’m not able to override the default extension settings for an individual entry: as indicated on this page.

Any suggestions as to what I need to do to be able to override the extension settings via the Better Meta tab on the Publish page?

Thanks.

 Signature 

When you persevere in something in which you have a natural aptitude, the result is excellence. When you persevere in something that does not come naturally, the result is success.

 
Posted: 27 March 2008 09:05 PM   [ Ignore ]   [ # 15 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-24
1210 posts
ramonekalsaw - 27 March 2008 11:10 PM

I’m just getting started with LG Better Meta and am having trouble getting the settings from the Better Meta TAB on the PUBLISH page to override the Extension Settings in ADMIN.

As per the USAGE setup instructions, after I:

- Created a new entry in one of the weblogs listed in the Weblog IDs extension setting;
- Entered entry specific values;
- Added {exp:lg_better_meta} to the <head> of my Permalink template;

I’m not able to override the default extension settings for an individual entry: as indicated on this page.

Any suggestions as to what I need to do to be able to override the extension settings via the Better Meta tab on the Publish page?

Thanks.

To display entry specific meta you must either use the entry_id or url_title paramater. http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#lg-better-meta

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

 
1 of 4
1