主页 > 未分类 > 去除mediawiki url中的index.php

去除mediawiki url中的index.php

修改LocalSettings.php文件,更改如下位置即可

$wgScriptPath       = "";

$wgScriptExtension  = ".php";

$wgArticlePath      = "$1";

$wgUsePathInfo      = true;

## The protocol and server name to use in fully-qualified URLs

$wgServer           = "http://wiki.xdty.org";

发表评论

邮箱地址不会被公开。 必填项已用*标注