Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

SEO

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

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.

Description

A set of best practices to Search Engine Optimization

  • Wherever possible use links in the form of
    [[PmWiki/RoadMap|+]]

    RoadMap

    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:
!!!fmt=#titled
(:if false:)
[[#titled]]
(:if ! equal {=$Group} {<$Group}:)
:[[{=$Group}/]] /:
(:if:)
::[[{=$Group}/{=$Name}|{=$Titlespaced}]]:
[[#titled]]
(:ifend:)

fmt=#titled

{=Group}? /
{=Name}?

  • Change also the default title structure in the template 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

Notes

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

Contributors

Comments

would anyone please post an example for this point? Where do i have to make the changes?

<title>{$Group} / {$Title} $ActionTitle | $WikiTitle</title>

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

Alexander July 24, 2008, at 03:55 AM

Edit - History - Print - Recent Changes - Search
Page last modified on July 24, 2008, at 03:55 AM