On 11 August 2013 10:56, Dave Humphrey [via Wikimedia] < ml-node+s7n5010997h39@n6.nabble.com> wrote:
A few things you can check/try:
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
I just gave it a go but it's returning a 404 error if you try and look at a wiki page with a long url.
If I use the short URL code from http://www.mediawiki.org/wiki/Manual:Short_URL it will return http://www.knitting-and.com/wiki/index.php?title=Lacy_Gloves_(Vintage) with a 404 or http://www.knitting-and.com/w/index.php?title=Lacy_Gloves_(Vintage)http://www.knitting-and.com/wiki/index.php?title=Lacy_Gloves_(Vintage) with the correct page but a long url
I don't have access to the apache root configuration.
-- View this message in context: http://wikimedia.7.x6.nabble.com/Need-Help-with-Short-URLs-tp5010861p5011000... Sent from the WikiMedia General mailing list archive at Nabble.com.