Search Engine Optimization for Wordpress

We do not always know, the theme chosen as far as the use of plugins has a role in SEO on a site powered by Wordpress.

The theme

The default themes are not optimized for search engines, because they have the following defects:

The theme of a optimized site should be clean and respect rules of optimal organization.

Site optimization

It starts by a configuration step, and ends with the installation of plugins, which is discussed further.

Check if the site is visible to robots

By default, Wordpress block the site to crawlers! After installing Wordpress, look at the source code. The presence of a <meta name = "robots.... tag means the site will not be indexed.
To correct this anomaly, go to Administration -> Settings -> Privacy and check "I want my blog to be visible to all, etc. ..."

The header

To avoid repetition of the name and slogan on each page, delete them in the header.php file, and replace them with a logo in an image.
The procedure is explained about the installation of the Cryonie theme.


Relevant URLs are actually preferable to item numbers used by the default configuration. The easiest and best way is to configure them as follows:

Custom structure: %postname%

So the URL will consist of keywords that appear in links from other sites to your site / blog.


Example of the robots.txt file based on the codex, which agrees with significant URLs as configured above:

User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache

Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /*?*
Disallow: /*?

Of course, replace by the name of your site.

You must not block access to JavaScript and to your theme because Google will penalyze your site.

Optimizing a page

In his guide for webmasters, Google provides a "Design and content guidelines" section. They applies first to the organization of the page.

Hierarchical structure

The page title is in a <H1> tag, the subtitles in <H2> tags and so on.


All links in a page should be relevant, closely related to the content. The links should not be too numerous, because as pointed out in the article What we need to know about PageRank, popularity of a site page is transmitted to other pages through links.

The archives, tag cloud etc.. are very useful for accessing content, but should rather stay on the homepage or a page dedicated to that.

The list of recent articles is not necessarily relevant to the content, it should be removed or limited to 3 links, but a list of related articles should be provided for visitors and engines. Plugins can create it automatically.


When you insert images, fill in the ALT field. This is for engines and is the textual representation of the image.


Do not worry about the nofollow attribute to your links, whatever anyone says. This does nothing and Wordpress by default adds it to comments to discourage spam: it is the only place where they are useful.
(Ref: PageRank and Nofollow.)

Plugins useful for SEO

Essential plugins:

Other plugins:


Creating a blog is easy. Creating a successful site is more difficult. Wordpress is not configured by default to be successful, but it will become after we have spent a little time to optimize it. This involves choosing a SEO-Friendly theme and some plugins.
Steps needed before we can focus on the content ...