Difference between revisions of "URL Rewriting"
From GeeklogWiki
m |
|||
Line 16: | Line 16: | ||
|Enable (true) or disable (false) URL rewriting. | |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 | ||
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] | ;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] |
Revision as of 18:50, 14 July 2005
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. |
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