Support the ongoing development of Laravel.io →

syscoid

Joined 6 Jul 2018

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0
posted 6 years ago

redirect from route with segment

hello.. we problem with route redirect from route to segment domain problem: Route::get('/', functi...

0 Likes
6 Replies
replied 6 years ago

redirect from route with segment

its the same not function, we added like this on route/web.php: return redirect('http://'."{url...

0 Likes
replied 6 years ago

redirect from route with segment

i try on route/web.php like this: Route::get('/', function(){ dd('http://'.{urlSegment}.'.domai...

0 Likes
replied 6 years ago

redirect from route with segment

{urlSegment} from controller, like this: Route::get('{urlSegment}/commercial', 'HomeController@comme...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.