Joomla home为组件释放sef别名

Joomla home为组件释放sef别名,joomla,joomla2.5,joomla1.7,Joomla,Joomla2.5,Joomla1.7,我正在为joomla 1.7/2.5开发一个组件,其中包含一些模块,这些模块生成指向具有不同视图的组件的sef链接。 除了网站的主页,一切都很好,所以http://localhost/en/ 当我在主页上时,我的所有组件链接都会更改为http://localhost/en/component/componentname/category/2032,如果我使用此链接:http://localhost/en/whatever,则相同的链接应该是http://localhost/en/componen

我正在为joomla 1.7/2.5开发一个组件,其中包含一些模块,这些模块生成指向具有不同视图的组件的sef链接。 除了网站的主页,一切都很好,所以http://localhost/en/

当我在主页上时,我的所有组件链接都会更改为http://localhost/en/component/componentname/category/2032,如果我使用此链接:http://localhost/en/whatever,则相同的链接应该是http://localhost/en/component\u menu\u alias/category/2032

没有内容和菜单的别名whateverhere,所以我很困惑joomla在whateverhere和home http://localhost/en/上时如何知道正确的别名

你知道这里出了什么问题吗


附言:这一页是多种语言的

我很快就要面对这个挑战了,我已经加入了书签。让我知道它是否适用于您。

问题是我按照本教程为我的组件创建了路由器。但与教程中所说的不同,这将只适用于非多语言页面,或者当您已经使用任何菜单别名时才适用,但如果您使用了,则不适用。我恐怕我创建多语言网站已经25年了,而不是Joomla。我所能建议的就是研究JoomFish——这似乎是Joomla事实上的多语言组件——祝你好运。