nginx short urls for mediawiki
- by William
I am trying to do short URLs for a MediaWiki site. The wiki is in a subdirectory mydir (http://www.example.com/mywiki). I've already set up rewrites in /etc/nginx/sites-available so that example.com redirects to example.com/mywiki.
Currently the URL is like http://www.example.com/mywiki/index.php?title=Main_Page. I want to clean up the url so that…