Hello all:
I have a question about some basic configuration settings in
LocalSettings.php that I'm hoping someone can help me with.
I have an established wiki that was originally set up using MediaWiki
1.4.x (I think). I just upgraded to 1.15.x.
The domain name is
www.mywiki.com. The domain name is mapped to a
subdirectory located at /path/to/public_html/mywiki.
Currently, the URL of the main page shows up as:
http://www.mywiki.com/index.php?title=MyWiki
In order to do this, the following variables in LocalSettings.php were
set up as follows:
$wgSitename = "MyWiki";
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgArticlePath = "$wgScript?title=$1";
$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/monobook/mylogo.png";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
Is there any downside to having the URL set up as
http://www.mywiki.com/index.php
versus the recommended way; i.e.,
http://www.mywiki.com/wiki/index.php?
Is there any way to switch over to the recommended way without
changing the URL that is shown to the public and search engines?
Perhaps, some way to rewrite the URL in the background?
Thanks in advance for your help,
Patricia