The Winter One
The Winter One

Reputation: 21

Trying to use 'ugly urls' with mediawiki install

So, I'm in a bit of a weird place. I have a local mediawiki install I've been trying to get running.

Installation went off without a hitch, however I cannot access the wiki when it uses the more normal URL ("localhost/mywiki/index.php/Main_Page"). However, it works fine when using the so-called 'ugly' URL ("localhost/mywiki/index.php?title=Main_Page").

So, with that in mind, I've been trying to set up my mediawiki (version 1.29) to use the "ugly URL"s via the "$wgArticlePath" setting. I've tried a number of different setups, including the following:

But none of them will actually return what I need them to. If anyone has more experience with mediawiki, I'd appreciate the assist.

Upvotes: 2

Views: 168

Answers (1)

Tgr
Tgr

Reputation: 28210

Try to set $wgUsePathInfo to false. Or set up a nice URL with the short URL builder.

Upvotes: 2

Related Questions