WordPress
From Marketing Wiki
Contents |
WordPress Plugins
- add links to best plugins here (categorize)
WordPress Themes
These are useful for SEO, monetization, microformats, or other reasons:
Desktop Blogging Tools
Software to post to WordPress blogs from the desktop.
- Scribfire - free Firefox extension to post to blogs.
- Comparison of desktop blogging software
Robots.txt
One possible WordPress robots.txt file:
User-agent: * # block all admin pages Disallow: /wp- # block all date-based lists Disallow: /date # block other possible date-based lists Disallow: /2007/ Disallow: /2008/ Disallow: /2009/ Disallow: /2010/ Disallow: /2011/ Disallow: /2012/ # block author-based lists Disallow: /author # block all feeds but the main feed Disallow: /*/feed/ # block trackback URLs Disallow: /*/trackback/ # block misc. dynamic URLs Disallow: /*?
Same as above, but without comments:
User-agent: * Disallow: /wp- Disallow: /date Disallow: /2007/ Disallow: /2008/ Disallow: /2009/ Disallow: /2010/ Disallow: /2011/ Disallow: /2012/ Disallow: /author Disallow: /*/feed/ Disallow: /*/trackback/ Disallow: /*?
See also Graywolf's WordPress SEO video.
Permalink Paths
If you ever want to get into Google News, make sure your posts have a unique number of at least 3 digits.
Good permalink options for WordPress blogs:
- /%post_id%-%postname%/ - Example: example.com/123-car-insurance/
- /%category%/%post_id%-%postname%/ - Example: example.com/insurance/123-car-insurance/
H1 Header Optimization
Most WordPress themes get this wrong. There should be one h1 element on every page and it should contain the page's main keywords.
The home page should have the logo as the h1 element, or else insert an extra h1 above the list of posts.
There are many ways to do this.
Check the WordPress theme files for h2 elements. The files depend on the theme, but these are some possibilities:
- index.php
- single.php
- page.php
- category.php
- archive.php (only if you leave the date-based archives open to crawling)
- archives.php (only if you leave the date-based archives open to crawling)
Check header.php for h1 element and only use the name of the blog as an h1 on the home page. The WordPress function is:
<?php if (is_home()) { // do something - for example, make post titles <h2> on home page, but <h1> when viewed as single posts } ?>
WordPress SEO
- Search Engine Optimization for WordPress - from the WP Codex
