我有一个joomla的网站有4个菜单项,其中之一是教育,为学习,有一些文章。
对于我的模板设计:在其他3个菜单中,我禁用了#contents.and just in education菜单用户可以看到#contents。
例如,当用户打开education菜单时,他/她可以选择一篇文章并阅读education中的that.that文章,它有一个类似这样的链接:http://www.fotografy.ir/education/2-uncategorised/20-11。但是当用户搜索这篇文章时,在搜索内容中,这篇文章有不同的网址:http://www.fotografy.ir/component/content/article/2-uncategorised/20-11?Itemid=101。
这篇文章将加载到组件/内容...其中我禁用了#contents,并且我不想在其中加载。我该如何解决这个问题呢?
发布于 2015-10-30 20:17:46
你可以在joomla中使用带有apache重写功能的.htaccess。
此外,您还可以尝试另一项操作:
转到backend -> Menus -> Add new menu item ->这里,你可以创建一个带有标题和别名的菜单项,别名显示在url中。(或)
尝试这样Goto backend -> System -> Global configuration -> Turn on the sef url。
我希望它能对您有所帮助:)
https://stackoverflow.com/questions/33413538
复制相似问题