Database instead of config file
timmoh opened this issue · 1 comments
timmoh commented
Is there an Option to use a database table for redirect?
so instead of
'redirects' => [
// '/non-existing-page' => '/existing-page',
// '/old-blog/{url}' => '/new-blog/{url}',
],
use DB Tables/Model
freekmurze commented
You can create your own redirector class that use the DB: https://github.com/spatie/laravel-missing-page-redirector#creating-your-own-redirector