SEF网址在申请中

时间:2015-10-20 19:47:41

标签: php sef

我有一个应用程序,如果启用mod_rewrite,我想写一个函数将我的链接转换为SEF版本。

我的网址示例:

index.php?url=products/index;
index.php?url=products/id/3;

所以我需要这样的东西:

Route::get('index.php?url=products/index');

如果文件夹中的.htaccess(启用SEF)或 index.php?url =产品/索引,则返回产品/索引

0 个答案:

没有答案
相关问题