Site works on subfolder and all routes need to bee done like this https://example.com/info/en.
All routes allready in groupe with prefix:
Route::group( [ 'prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ] ], function() { //code } );
Allways redirect like https://example.com/en/info/.
Groupe with prefix /info/ and 'prefix' => '\/info/' . LaravelLocalization::setLocale(), not working.
Site works on subfolder and all routes need to bee done like this https://example.com/info/en. All routes allready in groupe with prefix:
Route::group( [ 'prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ] ], function() { //code } );
Allways redirect like https://example.com/en/info/. Groupe with prefix /info/ and'prefix' => '\/info/' . LaravelLocalization::setLocale(),
not working.