Joomla 1.5 主菜单添加额外的子目录
我在 Joomla 中的主菜单出现问题。我在测试站点上通过 IP 地址访问的子目录中进行了安装(例如 http://255.255.255.255/ joomla)
由于某种原因,除“主页”之外的所有菜单链接都添加了一个不存在的额外子目录。例如,我有“联系人”链接,菜单链接到 http://255.255 .255.255/joomla/joomla/menu-id-85.html 又链接到 404。
这是怎么回事?仅供参考,我将配置文件设置为:
var $live_site = 'http://255.255.255.255/joomla';
该站点在 iis7 上运行,并且其他几个成功的 joomla 生产站点也在运行。
更新:我已经删除了 $live_site 变量,但仍然没有运气!任何想法都会有帮助。
I am having trouble with my main menu in Joomla. I have the installation on a testing site in a subdirectory that I am accessing via ip address (ex. http://255.255.255.255/joomla)
For some reason all the menu links except for 'Home' add an extra subdirectory that isnt there. for example, I have 'contact' link, the menu links to http://255.255.255.255/joomla/joomla/menu-id-85.html which in turn links to 404.
Whats going on here? fyi I have the configuration file set to:
var $live_site = 'http://255.255.255.255/joomla';
the site is running on iis7 with several other successful joomla production sites running.
UPDATE: I have removed the $live_site variable and still no luck! any ideas would be helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我知道你的问题是什么。尝试关闭 SEF URL 并查看链接是否有效。如果是这样,您可能需要查看 HTACCESS 文件并更改 RewriteBase 或将其完全注释掉。
I think I know what your problem is. Try turning off SEF URLs and see if the links work. If so, you probably need to take a look at your HTACCESS file and change the RewriteBase or comment it out completely.