Afternoon all,
I am having a issue with redirecting an old url to a new one after site change, at present I have the below code:
Route::get('/services/battery-recycling/', function(){
return Redirect::to('/waste/batteries-disposal', 301);
});
It is directing correctly but it is adding a hop in the redirect and I can't seem to stop it, this is what is happening:
/services/battery-recycling/
redirects to
/services/battery-recycling
and then finally gets to it's destination
/waste/batteries-disposal
How can I remove the middle step? so remove the step that gets rid of the trailing slash.
Thanks