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:
example.com/Page_title, but it is typically not recommended as it may lead to conflicts with other files and directories. For example, if you have your images in the /images/ directory, you wouldn't be able to access a page named "Images" in your wiki, and since you probably want to control how search engines index your site with the use of a robots.txt file, you can't create a wiki article named "Robots.txt".
Examples of wikis that use this format are the Gamepedia wikis.
- 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.
- Periodically bugs pop up with various configurations and root URLs because MediaWiki was not designed for them. These are being tracked in task T34620; currently these are the outstanding issues:
- 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.