Joomla-使用index.php而不是"/"作为主页 [英] Joomla - Use index.php instead of "/" as homepage
本文介绍了Joomla-使用index.php而不是"/"作为主页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
让:
- test.tld =域
- test.tld/index.php =我的Joomla主页
- test.tld/=不是Joomla的预发布页面(index.html)
现在Joomla一直想进入test.tld/作为主页,所以我基本上迷路了(因为它不是Joomla)
Now Joomla always wants to go to test.tld/ as homepage so I basically get lost (because it isn't Joomla)
如何设置Joomla以便主页的菜单为"test.tld/index.php"而不假定我想要"test.tld/"?
How to set Joomla so that the Menu to homepage is "test.tld/index.php" not assume I want "test.tld/" ?
我已经尝试过在不可见的菜单上制作一个虚拟主页,以使导航上的主页"实际上不是主页"
I already tried making a dummy homepage on an invisible menu so that the "home" on the navigation isn't really a "home"
没有更好的方法吗?谢谢
Is there no better way? Thanks
推荐答案
您可以通过两种方式解决此问题:
You can solve this issue in two ways:
- 推荐:您的网络服务器默认索引设置为
index.html
文件.您可以根据自己的网络服务器(Apache,Nginx等)进行更改. - 不推荐:您可以在站点的
Global Configuration
中禁用重写URL"功能,这将在每个页面上显示index.php.
- Recommended: Your web-server default index is set to
index.html
file. You can change that based on your web-server (Apache, Nginx, whatever). - NOT Recommended: You can disable Rewrite URLs feature in
Global Configuration
of your site, this will show index.php on every page.
这篇关于Joomla-使用index.php而不是"/"作为主页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文