4
内のリンクNotFoundHttpException外で私はLaravel 5アプリを開発しています、私はこのルートLaravel5:リダイレクト::()にRouteCollection.php
Route::get('/go','[email protected]');
と、このUrlController.phpでを持って、私は、このインデックスメソッドを持っています私はこのURLをテストするとき
public function index(){
return Redirect::to('www.google.com',302);
}
はhttp://localhost:8000/go
はそれだけでhttp://localhost:8000/www.google.com
に変更しNotFoundHttpException in RouteCollection.php line 161
ので、問題が何であるか、おかげ
は、HTTPを追加しようとする前にプロトコルを追加する必要があります://正しいのですwww.google.com – LudgerP