URL Rewriting

From GeeklogWiki
Revision as of 13:51, 29 May 2009 by Dirk (talk | contribs) (Fixed formatting)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Geeklog includes a simple but useful URL rewriting feature which can help make your site more crawler friendly (i.e. the URLs of your site are more likely to be picked up by the search engine's indexing bots). Currently, this feature is only supported for URLs to stories and by the Static Pages plugin.

URL rewriting means that your URLs will look like this


instead of like this


While some search engines will pick up the second form, Google seems to prefer the first format and completely ignores the second format.

Note: This feature may not work with all web servers. It is known to work with Apache (all versions) and known not to work with IIS (at least some versions). Please try it out before you go public with your site.

Variable Default Value Description
url_rewrite false Enable (true) or disable (false) URL rewriting.

Note: if you're running Apache 2.0, the apache directive "AcceptPathInfo" must be "on". You can insert this into a .htaccess file. A link to the description of this directive is here: http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo

Back to The Geeklog Configuration File