Thoughts on branding, design, writing and life by Kevin Potts. Established 2003.

SEO Plugins for Textpattern

Because of Textpattern’s ability to create templates from scratch, developers have explicit control over the level of search engine optimization they put into the site. Thankfully the plugin community has made life easier with some key add-ons that enhance and streamline SEO efforts.

There are many things I love about Textpattern (enough, in fact, to help write a book), but one of the most powerful aspects its architecture offers is the complete blank slate for web professionals to integrate their designs. Unlike Wordpress’ themes or the difficult customization of Drupal, TXP provides — literally — an empty field in which to construct templates. For a control freak like me, it’s an essential attribute.

Because of Textpattern’s completely open approach to templates, there is no pre-determined means or inherent best practices for building search engine optimization into a website. The web developer must implement optimization themselves. Thankfully, we have a little help from the plugin community.

Generating Metadata

Websites wishing to even get into the SEO game have to ante up with some solid metadata. There are a couple plugins out there that help generate good meta, including the following:

  • rah_metas is a clever plugin that outputs most of the content that appears inside the <head> tag; you can define the page’s character set, language, author, robots, keywords, and a description extracted from either the body or the excerpt.
  • art_meta_description is designed to output the meta description. It uses the same technique as rah_metas; you choose your source (body or excerpt) and the maximum number of words or characters.

Of course, with a few conditional tags and custom fields, creating custom metadata for every page is not too difficult. I wrote about it previously, but that was written before version 4 and a lot of things have changed. The best text I can offer is actually the one I wrote for Textpattern Solutions, which covers custom metadata for individual articles, section landing pages, category landing pages, and the homepage.

URL Structure

One aspect of SEO that I have personally seen affect rankings, and one which was confirmed by others when I was doing research for my other book (cough), is the actual URL of a web page. Textpattern’s messy mode is just no good. Using clean URLs with keywords in the string can dramatically affect performance, and there are several plugins that expand the native functionality:

  • gbp_permanent_links is the newest and best at controlling URLs. It provides a comprehensive set of conditional rules developers can use to dictate different URL structures. For instance, a blog might be /year/month/day/title-of-post, whereas a static section in the same site might be /section/web-page or even /section/category/web-page. I use it on this site and it works wonderfully.
  • ajw_clean_feed creates clean URLs for RSS feeds. TXP’s built-in RSS strings are ugly database calls, but this plugin supports all types of clean configurations. Great for creating feeds for specific categories, comments and more.

More Plugins for SEO

  • asy_sitemap is a brilliant plugin that aggregates your articles into an XML-based Google Sitemap. Requires you to have an account, but makes the sitemap creation and submission process unbelievably effortless.
  • tru_tags enables complete tagging functionality, including article tagging, a special tag URL, tag cloud generation, and more. This taxonomy hooks into Technorati, which helps build incoming links to the site.
  • myt_google_hilite is a small plugin that highlights the search terms people used to find you.
  • ako_social allows you to quickly add social bookmarking links to a web page. All of the usual suspects are included: Digg, StumbleUpon,, Ma.gnolia, Newsvine, and about 20 other fashionable Web Two-Point-Ohhh names.

The Painfully Obvious

These plugins help lay a structural and architectural foundation that supports the optimization efforts of the content. Of course good SEO tactics are nothing without attractive content that people actually want to consume, so make sure what you publish through your Textpattern site is worth looking at.

, , , , ,

commentary + criticism


wrote the following on Thursday August 16, 2007

nice list :) . Especially the metadata plugin.


wrote the following on Thursday August 16, 2007

Thank goodness for TXP SEO Optimization! I love txp. (smiling sigh)

btw, I saw you say in a previous post about drinking “lots of QuikTrip coffee” I’m from Sapulpa, OK just a few miles away from Tulsa, the home of QT. From where do you hearken? I love QT as well, so it’s yet another interest we share.


wrote the following on Friday August 17, 2007

I originally came from NJ, home of WaWa and 7-11, and am now in Kansas City, where QT 0wnz.


wrote the following on Friday August 17, 2007

Nice writeup Kevin. And nice book ;)

Nathan also wrote a post on Textpattern SEO recently which detailed how he used my rss_auto_excerpt plugin to automatically generate the meta description tag on his sites.


wrote the following on Sunday September 16, 2007

Wow this is a really good tutorial. I just bought your book through your link. I’m in the process of moving my static web pages to Textpattern. This should help. Thanks.

Markus Merz

wrote the following on Saturday March 8, 2008

I wrote an article about Textpattern with page dependent header meta description on June 1, 2006 (Pls. also check the comments for refinements.).

My experience is that automatic excerpts i.e. with the great rss_auto_excerpt plug-in aren’t as good SEO wise as automatically stuffing the article title and the keywords into the meta description.


wrote the following on Monday July 7, 2008

The art_meta_description download link at returns an error 404. :( Just thought you should know.


wrote the following on Friday May 7, 2010

Great and useful article. Thx.