Main Page

From OpenKore Wiki
Jump to navigation Jump to search
Home.png

Community

Irc.png

IRC chat

Help.png

Manual

Downloads.png

Links

Development.png

SVN repository Browser

Bugtracker.png

Bugtracker

Credits.png

About OpenKore

Current Wiki TODO's

In the LocalSettings.php file add the following code:
$wgScriptPath       = "/wiki";
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";
$wgArticlePath      = "$wgScriptPath/$1";

In the root directory of the site create a file whose name ends. htaccess with the following contents:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /wiki/index.php?title=$1 [L,QSA]
example http://ragbot.ru/wiki/config