Summary: A set of best practices to Search Engine Optimization
Prerequisites: pmwiki-2.0.0

Questions answered by this recipe

How can I optimize my content for findability? This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.


A set of best practices to Search Engine Optimization

  • Wherever possible use links in the form of


    to use the same keywords contained in the page title for the link text
  • On every important page use the (:keywords:) and (:description:) directives, which is used by the search engines to display a preview of the text on every page
  • Name new pages with the keywords from their title in mind, e.g. instead of a generic file name "Page-1" use "Words-from-the-page-title". Be careful to use "-" dashes instead of spaces for better readability for both robots and people
  • Keep the titled links even in pagelists:
(:if false:)
(:if ! equal {=$Group} {<$Group}:)
:[[{=$Group}/]] /:


{=$Group}? /

  • Change also the default title structure in the template (pub/skins/pmwiki/pmwiki.tmpl) to have the page title before the wiki title:
<title>{$Group} / {$Title} $ActionTitle | $WikiTitle</title>

<title>Cookbook / SEO $ActionTitle | $WikiTitle</title>

Attach:pmwiki-32.gif"My image"
My image


Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See Also



Google says they don't use keywords. They were abused badly. Some go so far as to say they make it easy for your competitor to find your keywords and use them to compete against you for rankings. E.g., You won't be the only page with the word "squatly".