Thanks for the reply. It seems my original post may have only gone to the web archives and not out to the list.
I have tried every version of the redirect code I can find. Short URLS are working but redirecting from the long version goes to index.php instead of the article name
I have recently moved my wiki from http://www.knitting-and.com/wiki to http://www.knitting-and.com/w and want the entries to still show at http://www.knitting-and.com/wiki
I've set up the redirects following the info at http://www.mediawiki.org/wiki/Manual:Short_URL but I've done something wrong and I can't figure out what
Full URLs such as http://www.knitting-and.com/wiki/index.php?title=Lacy_Gloves_(Vintage) are redirecting to http://www.knitting-and.com/wiki/index.phphttp://www.knitting-and.com/index.php instead of http://www.knitting-and.com/wiki/Lacy_Gloves_(Vintage)
I have the following in the .htaccess file in my root directory:
RewriteEngine On RewriteBase /~myusername RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/?wiki(/.*)?$ /w/index.php [L]
and this in my LocalSettings.php in the "w" directory
$wgScriptPath = "/w"; $wgScriptExtension = ".php"; $wgArticlePath = "/wiki/$1"; $wgUsePathInfo = true;
Any help would be greatly appreciated!
Sarah
On 11 August 2013 10:15, Dave Humphrey dave@uesp.net wrote:
Have you gone through the guides at http://www.mediawiki.org/wiki/Manual:Short_URL, or more specifically http://www.mediawiki.org/wiki/Manual:Short_URL/Apache? If you did what doesn't work or at what point do you have issues?