Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Changes

Jump to: navigation, search

Appropedia:Site development/archive (Admin tasks)

889 bytes added, 00:47, 21 November 2006
short URLs (aka beautiful URL instructions)
==Short URLs==
*See [http://meta.wikimedia.org/wiki/Using_a_very_short_URL wikimedia] and [[User:Helge.at]]
*Set path in LocalSettings.php to <code>$wgArticlePath = "/$1";</code>
*Added .htaccess to root with the following content
<pre>
RewriteEngine on
 
# Don't rewrite requests for files in MediaWiki subdirectories,
# MediaWiki PHP files, HTTP error documents, favicon.ico, or robots.txt
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins|extensions)
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/nowiki
# include these last two lines if you use the analog stats
RewriteCond %{REQUEST_URI} !^/failed_auth.html$
RewriteCond %{REQUEST_URI} !^/stats
 
RewriteRule ^(.*)$ index.php?title=$1 [QSA]
</pre>
 
==Input box==
*Installed 10/16/06 by --[[User:Lonny|Lonny]]

Navigation menu