Jump to content

Topic on Extension talk:WPMW

173.48.28.193 (talkcontribs)

To replicate the configuration steps in the instructions about using "clean URLs" on the Nginx platform, do the following:

1) Put in Mediawiki's LocalSettings.php $wgUsePathInfo = true; $wgArticlePath = '/wiki/$1';

2) Put in nginx.conf

   location /wiki {
       rewrite ^/wiki([^?]*)(?:\?(.*))? /wiki/index.php?title=$1&$2 last;
       }
Reply to "Clean URLs in Nginx"