Edit LocalSettings.php, set $wgScriptExtension to ""
2 How do I use wiki instead of index in my URL? First, in add the following to your LocalSettings.php: $wgScriptPath = '/w'; # Path to the actual files. This should already be there $wgArticlePath = '/wiki/$1'; # Virtual path. This directory MUST be different from the one used in $wgScriptPath $wgUsePathInfo = true; Second, edit your httpd.conf, and make sure you redirect /wiki/ to your index.php file, for example, if you are using a virtual host, add the following to your virtual host definition: <VirtualHost 208.109.88.39:80> DocumentRoot /www/aaa ServerName www.aaa.com Alias /wiki "/www/aaa/yourwikidir/index.php" </VirtualHost> Comments
First, in add the following to your LocalSettings.php:
$wgScriptPath = '/w'; # Path to the actual files. This should already be there $wgArticlePath = '/wiki/$1'; # Virtual path. This directory MUST be different from the one used in $wgScriptPath $wgUsePathInfo = true;
Second, edit your httpd.conf, and make sure you redirect /wiki/ to your index.php file, for example, if you are using a virtual host, add the following to your virtual host definition:
<VirtualHost 208.109.88.39:80> DocumentRoot /www/aaa ServerName www.aaa.com Alias /wiki "/www/aaa/yourwikidir/index.php" </VirtualHost>