Monday, December 27, 2010

Adding Yoast WordPress SEO to Atahualpa 3.5

Internet guru Yoast has created a new SEO plugin for Wordpress - WordPress SEO.

Wordpress SEO

It's a great plugin and I use it on my sites. However, since I use one of the more flexible themes, Atahualpa, the configuration of Wordpress SEO is a little more complex.

So if you are using the Atahualpa theme, here's my notes on adding Yoast's Wordpress SEO.

First Steps


Wordpres SEO is still beta, so BACK UP. (you have a backup don't you?)  Install Wordpress SEO plugin and activate it. Now on the bottom left, expand the SEO section and go to Import and Export.  Import your settings from other SEO tools and then deactivate the other plugins.

Fixing the Title


To format the <title> code the way Yoast wants, go to Appreance, Editor and edit the file bfa_meta_tags.php.

Change
<title><?php wp_title('&laquo;', true, 'right'); ?><?php bloginfo('name'); ?></title>

To
<title><?php wp_title(''); ?></title>

Then update the file.

Adding the Breadcrumbs


To add the Breadcrumb feature, go to Atahualpa Theme Options, Style and Edit center column. In the Content ABOVE the LOOP section add this code to the bottom to the code:
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>

Then save changes.

Updates to your Theme


If you update or change your theme,  you will need to re-do the code changes to the theme. Your Wordpress SEO setting are not affected by theme changes.

Configuring Wordpress SEO


Now you are ready to configure Wordpress SEO. I used a great tutorial over at wpBeginner - How to Install and Setup WordPress SEO Plugin by Yoast.  Once you have it configured, export your settings to save them to your computer. And you can use the saved configuration as a import on your next install to save time.

If you have any questions or comments, please let me know in the comments section. Enjoy!

0 comments: