Manual:Wiki in site root directory

It is possible to use the root directory of a domain as the wiki directory and have the URLs look like this:, but it is not recommended.

Guides

 * Using nginx, Root Access, PHP as a CGI module
 * Using Windows & Apache without 403 on Special Pages
 * Using Saetta Web Server

Considerations

 * You need special rules for "robots.txt" or "favicon.ico", also for all wiki support files like skin images, extensions that load content from the "/extensions/" folder (such as CSS, JS, or images), and root scripts like api.php, thumb.php, and image_auth.php. This is all compatible with having your wiki in your website's root directory.
 * Periodically bugs pop up with various configurations and root URLs because MediaWiki was not designed for them. These are being tracked in ; currently these are the outstanding issues:
 * , a root action path completely overrides.
 * , root article paths allow bypassing of nofollow and attacks on Special:Random.
 * , Super-short URLs are formed incorrectly for articles with titles starting with a slash.
 * Any scheme which does this is not supported by the MediaWiki developers. Use the configuration used by Wikipedia if you want to be on the safe side.