I want the following redirection functionality
GET /google google.com
How should I implement this?
It does not seem it is possible to do that straight from the routes files at this moment.
You could implement this in a controller:
public class Application extends Controller {
public static void google() {
redirect("http://www.google.com");
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With