链接到MediaWiki重定向主域名不正确的网页 [英] MediaWiki redirecting the main domain to incorrect page

查看:202
本文介绍了链接到MediaWiki重定向主域名不正确的网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的维基媒体最近位于/ var / WWW /根目录文件夹中创建维​​基媒体安装。

I am new to wikimedia and recently created a wiki media installation at /var/www/root folder.

当我点击我的主域名的前 HTTP // 10.10.0.100 / index.php文件/ Main_Page,这显示该网页已被删除的错误。

when I click on my main domain ex: http://10.10.0.100, it redirects me to http//10.10.0.100/index.php/Main_Page and this display an error that page has been deleted.

但是,当我手动更改URL在浏览器中输入http // 10.10.0.100 / index.php文件/ Main_page(即改信 P 在Main_Page为小写)的正确的页面被显示出来。

But when I manually change the URL in the browser to http//10.10.0.100/index.php/Main_page (that is change the letter p in the "Main_Page" to lower case ) the right page gets displayed.

但怎么做才能让我的域名重定向到http // 10.10.0.100 / index.php文件/ Main_ P 年龄(页用小写的 P ),而不是重定向到http // 10.10.0.100 / index.php文件/ Main_ P 年龄

But how do to I make my domain to redirect to http//10.10.0.100/index.php/Main_page("page" with lower case p) instead of redirecting to http//10.10.0.100/index.php/Main_Page

推荐答案

在你的维基,去叫链接到MediaWiki的页面:网主页并编辑它说主页。然后链接到MediaWiki会自动将您重定向到该页面时,页面不中给出的网址。它也将改变一些其他的事情,比如侧边栏链接到主页。

On your wiki, go to the page called MediaWiki:Mainpage and edit it to say Main page. MediaWiki should then automatically redirect you to that page when no page is given in the URL. It will also change some other things, such as the sidebar link to the main page.

这篇关于链接到MediaWiki重定向主域名不正确的网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆