Showing posts with label Wordpress SEO. Show all posts
Showing posts with label Wordpress SEO. Show all posts

Thursday, 22 July 2010

SEO for WordPress – The Complete Guide from Jimwestergren

Quick Facts

  1. There are 55 million blogs out there, if you don’t stand out you will have no chance.
  2. The first second of a visitors attention is the most crucial.
  3. Your main traffic should come to articles and posts inside your blog, not the home page.
  4. Search engine rankings relies heavily upon the quality and quantity of links to your blog when they determine the ranking.
  5. The best way to get links is by natural recommendations from other bloggers or web site owners.

Section 1: Optimize Your Blog

Usually the WordPress themes are well designed and structured already but there are a number of things you really should do to improve it for better optimization for search engines.

Using the best URLs

To enable the permalinks is easy and you have probably already done that, just go to Options -> Permalinks in the admin panel. But what format is the best to choose? The structure /%postname%/ – nothing else. This is best because your URLs to your articles should never change. And if you have it like this it does not matter if you change the category of the article or republish it with a new date, it will always be the same URL (more about that later). And if you happen to have two posts with the same title it is not a problem as WordPress will automatically add “-2″ in the end.

Have you been using the wrong format? Well, if your blog is not totally new you should not change. It is not vital and for the next time you make a blog you know how to make it right.

Handling URL Canonization

Every WordPress blog has an issue in which there are 4 different URLs for the same post and this has to be fixed to prevent dilution. Follow my guide on how to fix it here.

Title Tags

The title tag is the most important HTML-tag in terms of SEO.

Here are different versions you should use inside the located in theme/header.php

Optimum ranking:

For branding purposes:

The best title tag solution for advanced users

Either install and properly use the SEO Title Tag plugin or do the following:

  1. Download and install this plugin.
  2. Replace with the context in header.php on single.php, page.php and category.php.
  3. Work out the best titles for the different versions and use the plugin to create different versions of category.php and single.php with their own versions of title tags. For example if your category with ID 5 is “SEO News” you could have the following title tag in single-cat-5.php:
    SEO News: <?php { wp_title('') ;} ?>
    In category.php you could have: <?php { wp_title('') ;} ?> | Your Name

Headings

Headings are defined by HTML with H1 (largest) to H6 (smallest). You need to use them in your articles when you write. Your article title should be in a main heading (H1), sub headings with H2 and small headings with H3.

Make sure that in theme/single.php this code is wrapped in H1 so that it looks like:

If your theme designer already used a specific CSS design for the heading tags you can do like this:

  1. Open up theme/single.php and add
    to the top after and
    to the bottom before .
  2. Add then add for example the following lines of CSS to your CSS file:
    .singleheadings h1 {font-size:XXpx;font-family:XX}
    .singleheadings h2 {font-size:XXpx;font-family:XX}
    .singleheadings h3 {font-size:XXpx;font-family:XX}

You can change your quicktags by for example using this file instead (also add H2 to the file) so that you easily can insert heading tags when you write.

Navigation

Most of the link power is coming to the home page of your blog and gets distributed evenly among the rest of the links on that page. So in additional to having a good navigation structure for your visitors also do the following:

  • Have links to the most important articles and pages from your home page. That can easily be achieved by making a category with your best articles and using the WP Category Post plugin to make a list of them on the index.php file.
  • Install the Related Posts plugin and have your articles link to similar articles.
  • Also link yourself to previous articles you have written.
  • Place the attribute rel=”nofollow” on links that are totally useless for search engines such as to RSS feeds for the blog and comment links. In case you want to remove the nofollow on the comment links make sure you check the author links before approval as it is important that you don’t link to bad sites from your blog.
  • You should not have hundreds of external links on the home page, if you have that I recommend that you place them on a separate page.

Site Map

A Site Map is where your visitors go to navigate and find specific articles and posts on your blog. It is also a place for search engines to find links to all your pages on your blog.

Use my article on how to make an automatic WordPresss Site Map and add one for your blog. I prefer that you make the first version in the guide.

What about a Google Sitemap?

It is not needed. There is no reason for a WordPress blog with a proper navigation structure to submit a Google Sitemap other than for information purposes. A Google Sitemap does not improve your ranking, only crawling, and that is not a problem.

Design

Everyone has different tastes about design but here are points to think about when you design your blog:

  • Keep the design simple, very simple.
  • Have the body text big with big and clear headings.
  • For some reason blogs are not liked in the big social network sites (like digg, reddit etc) so make your theme unique and try to make it look like a site and not a blog.
  • Make sure nothing steals attention from your text.
  • The text width should not be longer than one and a half alphabet, even shorter.
  • When a visitor reaches an article on your blog, the text should be seen instantly. Have the text as far up as possible. A visitor should not have to scroll to reach the content.
  • If you are not making decent money with ads I suggest you to erase all ads you have on the blog.

References to follow:

What About the Meta Tags?

There are various WP plugins out there for this but to be honest and frank I can tell you that they are not worth the effort. The meta keywords tag are not used anymore (or extremely little) in the ranking calculation and while the meta description tag can show up in the SERPs I consider the snippet of text the visitor gets being better.

CSS Positioning

It has been said that by providing the important content first in the source code it will make a positive difference in your search engine ranking. I am not sure if this is true, but it won’t hurt to do it. For example on this blog the navigation on the left is in the bottom of the code.

Section 2: How to Craft Your Articles

You should read the entire section of Authoring High Quality Content by Mr. Fishkin but I give you here a very quick summary as it relates to this article.

First the most important quote:

One Great Page is Worth a Thousand Good Pages

While hundreds or dozens of on-topic pages that cover sections of an industry are valuable to a website’s growth, it is actually far better to invest a significant amount of time and energy producing a few articles/resources of truly exceptional quality. To create documents that become “industry standard” on the web and are pointed to time after time as the “source” for further investigations, claims, documents, etc. is to truly succeed in the rankings battle. The value of “owning” this traffic and link source far outweighs a myriad of articles that are rarely read or linked to.

Write articles or posts that serves as a stand alone document. This means there is everything valuable collected on that page on that specific topic. For example a stand alone document on “SEO for WordPress” should have everything on that page and the reader should not need any other articles on that topic.

Better 1 great article that you revise 10 times than 10 smaller ok articles.

To do this you can also rewrite and republish your old articles with the current time to show up again as the latest article.

Include links to more reading if applicable

Withing or at the end of your article you should link to other sources so that the reader can read more if he is interested. You can also use this as sources if you got your writing materials from other places.

Headlines

You should write the kind of headlines to your articles that:

  • Contains important keyword combinations or phrase for ranking
  • Describes with great interest what the article is about
  • Makes the reader want to read it and clicks on it in the SERPs
  • And is short and to the point

Section 3: Increase User Interaction

  • Use polls from for example Poll Daddy.
  • Increase the commenting field for longer user comments and better interaction. This also provides more unique content to your articles.
  • Install the Subscribe to Comments plugin.
  • Actually do reply to your commenters and answer their questions.
  • If you revise an article based on a comment, do link and give credit to the commenter.

Section 4: Get Links

  • The art of writing the kind of content that get natural links is called link baiting. See my article on that with a list of ideas here.
  • Post your link baits on the major social network sites such as digg, reddit and the others.
  • Install my Link to Me Textbox WordPess Plugin which provides an automatic HTML box of code for easy linking to you.
  • Regularly link and reference other bloggers in your field in your posts to get attention from them. You loose nothing of it and many of them will return the favor and link to you. Also comment on their blogs to make them discover your blog.
  • Read and follow my Link Building Guide

This article will be regularly updated and the URL will never change. Feel welcome to bookmark and or link to it. Let me know if there is something I should add. Thank you.

Source: Jimwestergren

Thursday, 6 November 2008

Wordpress, SEO and SEO for Wordpress

To do SEO for Wordpress, we need to clarify some basic concepts.

What is Wordpress?


WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time. This is the definition from Wordpress' official website.

Subjectively defined by Wikipedia, WordPress is an open source blog publishing application. WordPress is the official successor of b2\cafelog, developed by Michel Valdrighi. The name WordPress was suggested by Christine Selleck, a friend of lead developer Matt Mullenweg.

The latest release of WordPress is version 2.6.3, released on 23 October 2008.

What is SEO?

SEO (Search Engine Optimization/Optimizer) is the process of making your websites become more friendly with search engines (Google, Yahoo, Live, Ask, etc.), thus gaining higher keywords rankings and better traffics.

SEO for Wordpress or Wordpress SEO

Below is the definite guide from Yoast about Wordpress SEO.

  1. The basic technical optimization: simplest stuff, highest rewards
    1. Permalinks
    2. Optimize your Titles for SEO
    3. Optimize your Descriptions
    4. Optimize the More text
    5. Image Optimization
  2. Template optimization
    1. Breadcrumbs
    2. Headings
    3. Clean up your code
    4. Aim for speed
    5. Rethink that Sidebar
  3. Advanced technical optimization: preventing duplicate content
    1. Noindex, follow archive pages
    2. Disable unnecessary archives
    3. Pagination
    4. Nofollowing unnecessary links
  4. Altering your blog's structure for high rankings
    1. Pages instead of posts
    2. New wine in an old bottle: use well ranking-posts to rank even better
    3. Linking to related posts
  5. Conversion optimization: get those readers to subscribe!
  6. Comment optimization: get those readers involved
    1. How should you get people to comment
    2. Bond with your commenters
    3. Keeping people in the conversation
  7. Off site blog SEO
    1. Follow your commenters
    2. Use Twitter
    3. Find related blogs, and work them
  8. Conclusion




1. Basic technical optimization

Out of the box, WordPress is a pretty well optimized system, and does a far better job at allowing every single page to be indexed than every other CMS I have used. But there's a few things you should do to make it a lot easier still to work with.

1.1. Permalinks

The first thing to change is your permalink structure which shapes the URL structure. In WordPress 2.5, you'll find this page under Settings -> Permalinks. The default permalink is
?p=, but I prefer to use either /post-name/ or /category/post-name/. For the first option, you change the "custom" setting into /%postname%/:

Wordpress SEO: Change the setting of your permalink structure to Custom: /%postname%/

To include the category, you change it to /%category%/%postname%/.

Once you've done that, you'll want to install the Redirection plugin, and make sure that under Manage -> Redirection -> Options, making sure both URL Monitoring select boxes are set to "Modified posts". Now you can change those permalinks to perfectly SEO'd permalinks without having to do anything else, or worry about the search engine consequences.

WWW vs non-WWW
Another good thing to configure now you're on that screen anyway is the Root domain: Add WWW / Strip WWW one. Make a choice, and set it here, don't enable both, some search engines still can't handle that. And enable the redirect index.php/index.html one too, it won't hurt you, and might even do your WordPress SEO some good.

URL stopwords
The last thing you'll want to do about your permalinks to increase your WordPress SEO, is install the SEO Slugs plugin, this will automatically remove stop words from your slugs once you save a post, so you won't get those ugly long URL's when you do a sentence style post title.

1.2. Optimize your Titles for SEO

By default, the title for your blog posts is "Blog title » Blog Archive » Keyword rich post title". For your WordPress blog to get the traffic it deserves, this should be the other way around, for two reasons:

  • Search engines put more weight on the early words, so if your keywords are near the start of the page title you are more likely to rank well.
  • People scanning result pages see the early words first. If your keywords are at the start of your listing your page is more likely to get clicked on.

For more info on how to craft good titles for your posts, see this excellent article and video by Aaron Wall: Google & SEO Friendly Page Titles. I prefer to do this with HeadSpace, as that makes it very very easy. You should check your header.php though, and make sure that the code for wp_title(); contains two quotes, so it looks like this: wp_title('');. This makes sure you have absolute control over the title and don't have any annoying separator in there.

After that, go into the HeadSpace settings, and make them look something like this for your posts and pages:
Wordpress SEO: HeadSpace settings for Posts and Pages

For the other pages, I have the following settings:

  • Posts / Pages: %%title%% - Blog Title
  • Categories: %%category%% Archives %%page%% - Blog Title
  • Tags: %%tag%% Archives %%page%% - Blog Title
  • Archives: Blog Archives %%page%% - Blog Title

With HeadSpace, you can also write optimized titles for each post specifically, overriding the settings here. This way you have absolute control over your titles, and can make sure your WordPress titles are actually helping your SEO.

1.3. Optimize your Descriptions

Give each category a decent description, and use HeadSpace to add that description to the meta description, by adding %%category_description%% in the Description field. After that, write a description for each post or page that you actually want to rank with. The descriptions has one very important function: enticing people to click, so make sure it states what's in the page they're clicking towards, and that it gets their attention.

Automated descriptions
In my opinion, auto generating descriptions is a load of bull, most plugins pick the first sentence, which might be an introductory sentence which has hardly anything to do with the subject, or another sentence with a keyword in it, which might be completely wrong to pick as description. Thus, the only well written description is a hand written one, and if you're thinking of auto generating the meta description, you might as well not do anything and let the search engine control the snippet... If you don't use the meta description, the search engine will find the keyword searched for in your document, and automatically pick a string around that, which gives you a bolded word or two in the results page.

Auto generating a snippet is a "shortcut", and there are no real shortcuts in (WordPress) SEO (none that work anyway).

1.4. Optimize the More text

Another neat featuer of HeadSpace is that you can use it to optimize the more text, so if you use a more tag on the frontpage, you can replace the default "Read more" link with something meaningful for every post. It's small things like that that make your WordPress SEO the best.

1.5. Image Optimization

An often overlooked part of WordPress SEO is how you handle your images. By doing stuff like writing good alt tags for images and thinking of how you name the files, you can get yourself a bit of extra traffic from the different image search engines. Next to that, you're helping out your lesser able readers who check out your site in a screen reader, to make sense of what's otherwise hidden to them.

You should of course be writing good titles and alt tags for each and every image, however, if you don't have the time for that, there is a plugin that can help you. The plugin is called SEO Friendly Images, and it can automatically add the title of the post and or the image name to the image's alt and title tag:
Wordpress SEO: SEO Friendly Images settings example

2. Template Optimization

2.1. Breadcrumbs

You'll want to add breadcrumbs to your single posts and pages. Breadcrumbs are the links, usually above the title post, that look like "Home > Articles > WordPress SEO". They are good for two things:

  • They allow your users to easily navigate your site.
  • They allow search engines to determine the structure of your site more easily.

These breadcrumbs should link back to the homepage, and the category the post is in. If the post is in multiple categories it should pick one. For that to work, adapt single.php and page.php in your theme, and use my breadcrumb plugin.

2.2. Headings

Although most themes for WordPress get this right, make sure your post title is an H1 heading, and nothing else. Your blog's name should only be an H1 on your frontpage, and on single, post, and category pages, it should be no more than an H3.

These are easy to edit in the post.php and page.php templates. To learn more about why proper headings are important read this article on Semantic HTML and SEO.

2.3. Clean up your code

All that javascript and CSS you might have in your template files, move that to external javascripts and css files, and keep your templates clean, as they're not doing your WordPress SEO any good. This makes sure your users can cache those files on first load, and search engines don't have to download them most of the time.

2.4. Aim for speed

A very important factor in how many pages a search engine will spider on your blog each day, is how speedy your blog loads. You can do two things to increase the speed of your WordPress.

  1. Optimize the template to do as small an amount of database calls as necessary. I've highlighted how to do this in my post about speeding up WordPress.
  2. Install a caching plugin. I highly recommend WP-Super-Cache, which is a bit of work to set up, but that should make your blog an awful lot faster.

Also, be aware that underpaying for hosting, is not wise. If you actually want to succeed with your link-bait actions, and want your blog to sustain high loads, go for a good hosting package. I myself have a MediaTemple grid server, with a LITE MySQL container added to that.

2.5. Rethink that Sidebar

Do you really need to link out to all your buddies in your blogroll site wide? Or is it perhaps wiser to just do that on your front page? Google and other search engines these days heavily discount site wide links, so you're not really doing your friends any more favor by giving them that site wide link, nor are you helping yourself: you're allowing your visitors to get out of your site everywhere, when you actually want them to browse around a bit.

The same goes for the search engines: on single post pages, these links aren't necessarily related to the topic at hand, and thus aren't helping you at all. Thus: get rid of them. There are probably more widgets like these that only make sense on the homepage, and others that you'd only want on sub pages.

Some day you will probably be able to change this from inside WordPress, right now it forces you to either use two sidebars, one on the homepage and one on sub pages, or write specific plugins.

3. Advanced WordPress SEO and Duplicate Content

Once you've done all the basic stuff, you'll find that the rest of the problems amount to one simple thing: duplicate content. Loads of it in fact. Out of the box, WordPress comes with a few different types of taxonomy:

  1. date based
  2. category based
  3. tag based

Next to that, it seems to think you actually need to be able to click on from page to page starting at the frontpage, way back to the first post you ever did. Last but not least, each author has his own archive too, under /author//, resulting in completely duplicate content on single author blogs.

In essence that means that, worst case scenario, a post is available on 5 pages outside of the single page where it should be available. We're going to get rid of all those duplicate content pools, by still allowing them to be spidered, but not indexed, and fixing the pagination issues that come with these things.

3.1. Noindex, follow archive pages

Install my robots meta plugin, and make sure the settings prevent indexing of all archive pages, like this:
Wordpress SEO: Robots Meta setting to prevent indexing of archives to improve WordPress SEO

Now the search engine will follow all the links on these archive pages, but it won't show those pages in the index. Not everybody will agree on this policy, and others will tell you to just show a snippet of each post on the archive page. That'll also work, but in my opinion completely throwing them out is better.

3.2. Disable unnecessary archives

If your blog is a one author blog, or you don't think you need author archives, use the robots-meta plugin to disable the author archives. Also, if you don't think you need a date based archive: disable it. Even if you're not using these archives in your template, someone might link to them and thus break your WordPress SEO...

3.3.

Thirdly, you'll want to make sure that if a bot goes to a category page, it can reach all underlying pages without any trouble. Otherwise, if you have a lot of posts in a category, a bot might have to go back 10 pages before being able to find the link to one of your awesome earlier posts...

There's an easy fix. Jaimie Sirovich wrote Pagerfix, a plugin that helps you make your pagination look like this:
Wordpress SEO: Better Pagination to increase your WordPress SEO

To reach that, install that plugin, and change this section in f.i. your index.php: