Patricia Barden wrote:
> Hello all:
> 
> I have a question about some basic configuration settings in  
> LocalSettings.php that I'm hoping someone can help me with.
> 
> I have an established wiki that was originally set up using MediaWiki  
> 1.4.x (I think). I just upgraded to 1.15.x.
> 
> Is there any downside to having the URL set up as 
> http://www.mywiki.com/index.php 
>   versus the recommended way; i.e., http://www.mywiki.com/wiki/index.php?
> 
> Is there any way to switch over to the recommended way without  
> changing the URL that is shown to the public and search engines?  
> Perhaps, some way to rewrite the URL in the background?
> 
> Thanks in advance for your help,
> 
> Patricia

Hello Patricia

No, there's no downside. http://www.mywiki.com/index.php is a stable uri
scheme.
http://www.mywiki.com/wiki/index.php is not "recommended" in any
particular way (you can use that equally well if you wish, though).

The problem with http://www.mywiki.com/index.php?title=MyWiki is that
people find those titles ugly. There are two common ways to prettify them:
*http://www.mywiki.com/index.php/ArticleTitle (automatic with path info
support)
*http://www.mywiki.com/wiki/ArticleTitle
(see http://www.mediawiki.org/wiki/Manual:Short_URL for instructions)

Note that having /wiki/ArticleTitle does *not* involve moving index.php
to a folder called wiki. index.php must be at a different path. /wiki/
would be a virtual folder and use web server magic to pass it to php.

Some people want to have the articles at
http://www.mywiki.com/ArticleTitle That *does* give problems. Having
index.php at the root doesn't. Since it's an established path, I
wouldn't move the wiki root.



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to