Difference between revisions of "URL Rewriting"

From GeeklogWiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
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
 +
;<center>http<nowiki>:</nowiki>//www.geeklog.net/article.php/20021022234959146</center>
 +
;instead of like this
 +
;<center>http<nowiki>:</nowiki>//www.geeklog.net/article.php?story=20021022234959146</center>
 +
;While some search engines will pick up the second form, Google seems to prefer the first format and completely ignores the second format.
 +
;<strong>Note:</strong> This feature may not work with all web servers. It is known to work with Apache (all versions) and known <em>not</em> to work with IIS (at least some versions). Please try it out before you go public with your site.
 +
 +
{| border=1 cellspacing=0
 +
!Variable
 +
!Default Value
 +
!Description
 +
|-
 +
|url_rewrite
 +
|false
 +
|Enable (true) or disable (false) URL rewriting.
 +
|}
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]

Revision as of 09:02, 7 July 2004

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
http://www.geeklog.net/article.php/20021022234959146
instead of like this
http://www.geeklog.net/article.php?story=20021022234959146
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.
Back to The Geeklog Configuration File