【发布时间】:2015-04-22 21:24:39
【问题描述】:
我开发了一个类似于目录的 Joomla 网站。人们在站点中有他们的个人资料,我创建了一个名为 com_profile 的组件来在传递 id 时显示他们的个人资料。因此,对于以下 URL,它现在正在显示配置文件。
http:///index.php?option=com_profile&id=100
我需要更改网址,因此当用户键入“http:///service_providers/100”时,它将显示个人资料。
我该怎么做?我在 htaccess 中尝试了不同的方法,但没有任何帮助。 :(
【问题讨论】:
标签: php .htaccess mod-rewrite components joomla3.0