SEO: Entry Titles and <title>
Posted: 17 January 2008 05:13 PM   [ Ignore ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32855
Joined  05-14-2004

An ever-present part of building any public website is Search Engine Optimization.  We’re often asked, “Is ExpressionEngine SEO friendly?” - the answer here is: “it sure is, if you make it so!”

While ExpressionEngine goes a long way with its URLs being human-readable and search engine friendly, there are some other tricks that one can utilize to help this along.  Remember, we control the templates, and therefore, we control what information is output and where.

One of those tricks is having a semantic <title> element for each page.  So, how do we make that title element more useful, both to our readers and to search engines?

Onwards!

 Signature 
Profile
MSG
 
 
Posted: 18 January 2008 12:47 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  210
Joined  02-18-2007

I struggled with learning how to do this, as adding the entry title on a single entry page is helpful for disabled people (i.e., blind) but then I learned how to add a Comments on title on the comments page and wanted to find out how to do it on a single-post permalink page. Then, I thought of adding an entry template and stopped pulling my hair out. Whee!!!

 Signature 

KMRL Mojo Radio Live!
My Blog
Running 1.6.1 Build 20071114

“I know more than you do, for you think you know something, and I know I know nothing.” - Socrates


Must-Have Addons:

Accessible Captcha
Akismet for EE

Profile
 
 
Posted: 18 January 2008 04:54 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Hi Lisa,

I just love using the Reeposition plugin for this purpose.
Using the plugin I don’t have to add another weblog tag to my template, although I have no idea which is ‘faster’ a few more queries or the plugin…

btw, there is a little typo in your weblog tag, and you could add ‘categories’ to the disable parameter.

disable="trackbacks|pagination|member_data|custom_fields|category_fields|categories"}

instead of:

disable="trackbacks|pagination|member_data|custom|fields|category_fields"}

Cheers,
Elwin

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 18 January 2008 10:40 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
Joined  06-05-2007

For my sties, I do something like this in my head embed:

<title>{embed:pagetitle} | My Site</title>

Then in my template, depending if its a section landing page (template group index) or an article or general site page, I do something like this:

{exp:weblog:entries limit="1" weblog="{my_weblog}" status="" disable="trackbacks|pagination|member_data|custom_fields|category_fields|categories"}
{
!--head includes--}
{embed
="includes/head" pagetitle="{title}"}
{
/exp:weblog:entries}

or this:

{!--head includes--}
{embed
="includes/head" pagetitle="Section Title"}

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 18 January 2008 10:55 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32855
Joined  05-14-2004

Updated, I re-read that code about 50 times, not sure how I missed that pipe - thanks, Elwin. =)

It’s great to see all the ideas coming forth from this. There is never any claim that it is the “One True Way”.  I hope as I post articles in the future, I’ll always get alternate methods posted - this kind of discourse is what really helps new ExpressionEngine users learn the system and see just how flexible it is.

You guys rock. =)

 Signature 
Profile
MSG
 
 
Posted: 20 January 2008 02:37 AM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

I know its a bit of self promotion but my LG Better Meta Extension + Plugin allows you to customise your ExpressionEngine entries and add other meta data like descriptions/summaries that will drastically improve your SEO.

Basically it adds another tab in the publish/edit form that allows you to customise the following for each entry:

- author
- title
- description
- keywords
- publisher
- rights
- identifier
- date created
- date modified
- date valid
- instructions for robots
- site title

The plugin also generates Dublin Core MetaData and HTML Meta tags which can be customised using a template.

Page titles are only they first step towards SEO. The most important thing is your content and the page titles should reflect it.

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 22 January 2008 12:10 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  375
Joined  11-29-2005

I just installed—I am impressed! Thanks for writing it.

 Signature 

e x p design: a consultative approach to web site design and development.
- - -
EE Pro Network | Expression Engine Install Best Practices
- - -
Nominate Leevi Graham’s Extensions!—I did.

Profile
 
 
Posted: 22 January 2008 12:14 AM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006
4midori - 22 January 2008 12:10 AM

I just installed—I am impressed! Thanks for writing it.

Thanks Midori

If your enjoy the extension why not donate towards its development / buy me a coffee smile

Cheers Leevi

Update: I hope your talking about LG Better Meta red face

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 23 January 2008 07:24 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

I have just updated LG Better Meta which takes care of a few bugs! Grab it from my site

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 25 January 2008 08:35 AM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  63
Joined  09-22-2006

What I like to do is create a custom field for the page titles something like page-title or extended-title.  That way I can make the titles more search engine friendly and get a few extra keywords by rephrasing the entry’s title a bit.  A smart way to think about your page title is to think about how it would read on Google.  Is it attention grabbing?  You can also a set the maximum characters to something around 60-65 so the page title shows up in entirety in the search engine.  I chose to use 60 because that is the maximum allowed for Digg and I also use the extented-title for the auto population of the title when an article is Dugg from my site.  Here’s an example of the code that I use for my custom page titles.

{exp:weblog:entries weblog="{current_blog}" disable="trackbacks|member_data|category_fields|pagination|categories" rdf="off" limit="1"}
<title>{if extended-title}{extended-title}{if:else}{title}{/if} - Your Site Here </title>
{/exp:weblog:entries}

Above I’ve added an if statement so that if you are applying this to a weblog that already has entries so you do not lose all your page titles, however future entries will have the extended title applied.  If you’re starting a new blog you can leave out the if statement and simply use the extended-title field as long as you make it a required custom field.

 Signature 

Social: http://friendfeed.com/nek4life


EE Sites: Audible Hype, Brainsturbator

Profile
 
 
   
 
 
‹‹ Over 50,000 served      Looking For What Is ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64900 Total Logged-in Users: 60
Total Topics: 81835 Total Anonymous Users: 48
Total Replies: 439967 Total Guests: 300
Total Posts: 521802    
Members ( View Memberlist )