My Blog Posts

Laravel Referrals

Laravel Referrals


This package can be useful for SEO when you have URLs that have the potential to be modified in your application.

First, the package uses layer software to detect routes and possibly route users based on the database results in the routings table.

You can then create a routing to the configured routing model with the following call:

app('redirect.model')-create([
    'old_url' => '/your-old-url',
    'new_url => '/your-new-url',
    'status' => 301
]);

You can learn more about this package, get all installation instructions, and view the source code at Neurony /laravel-redirects on GitHub.



Share this article


Comments (0)

Comment