adspace
Answer Posted / Prashant Kumar Tripathi
To perform a 301 redirect in Laravel, you can use the Redirect class from the Http response. Here's an example of redirecting to another URL with a status code of 301 (permanent redirect).nn```phpnreturn Redirect::away('http://new-url.com', 301);n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers