【发布时间】:2014-02-13 21:09:31
【问题描述】:
我想将一个模块的参数发送到 Joomla 3 中的一个组件(这是显示其文章的日期)。
所以我通过 GET 方法发送日期,如下所示:
<a href="http://127.0.0.1/web43/archives.html?date=2014-12-29&option=com_arch&Itemid=10371">
list of articles on 2014/12/29
</a>
一切正常。我可以在 com_arch 组件的模型文件夹中获取 PHP 文件的参数... 但是这个 URL 丑陋且对搜索引擎不友好。
我想要这样的东西:
<a href="http://127.0.0.1/web43/archives/2014-12-29">
list of articles on 2/2/2014
</a>
有可能吗?怎么办?
【问题讨论】:
标签: url-rewriting seo joomla3.0 joomla-component