Manual talk:Wiki in site root directory

From MediaWiki.org
Jump to navigation Jump to search

What happens if you try to relocate the directory after install and config? e.g, I installed to webroot but want to move everything down one directory to webroot/wiki. Would I need to update any settings or links in the database? — Preceding unsigned comment added by 97.80.139.67 (talkcontribs)

No, you'd just have to change $wgArticlePath and possibly some other variables in LocalSettings.php --Catrope 12:38, 9 March 2009 (UTC)

one letter path[edit]

i get Error 403. 83.68.75.33 18:28, 11 April 2009 (UTC)

.wiki domains[edit]

I was happy to find a page dealing with this issue, and just wanted to note one more case where the trailing /wiki/ can be strange-looking and unfortunate — .wiki domains. I own one and was hoping to move my Mediawiki installation onto it, but the resulting article URLs (domain.wiki/wiki/foo, domain.wiki/wiki/bar, etc.) look really strange and stuttery. Huwmanbeing (talk) 20:14, 16 February 2017 (UTC)

Fear, Uncertainty, and Doubt[edit]

That is what most of this article spreads, much of it completely inaccurate. What should be abundantly clear is that Wikipedia should retrofit it's own url structure to be more user friendly. Imagine how many bytes of data could be saved in a year, if they simply got rid of /wiki from all of their pages! It is obvious that the original design was based on wikis being only one part of a site, and so assuming a subdirectory made sense in the url path. However, this has become hardened into fear, uncertainty and doubt into all systems that don't install MediaWiki in a /w subdirectory. What a crying shame. The reality is, most, if not all, things work, and whatever is broken can be fixed. We are talking about the a webserver (Apache or other) which can control routes to the MediaWiki files. --Jeffmcneill (talk) 05:53, 26 April 2017 (UTC)

I agree that effort should go into making root installation better supported. The advent of the top-level .wiki domain makes it even clearer how strange the current limitations are: anyone setting up such a site would no doubt prefer the scheme foo.wiki/Article, but will nevertheless be pointed toward using the oddly redundant foo.wiki/wiki/Article. Huwmanbeing (talk) 16:58, 23 August 2017 (UTC)