这样的链接重定向不生效,求问高手该如何写
网站此前是用其他系统做的,其中有一些链接,格式为:xxx/index.php?doc-view-80.html
现在换成了laravel,用laravel的路由,给原来的url如:/index.php?doc-view-80.html 重定向
,可是写作:
Route::redirect('/index.php?doc-view-80.html', '/xxx');
不能生效。
请问大哥们这样带着.php及参数的url如何重定向~
推荐文章: