Answer the question
In order to leave comments, you need to log in
How to set up redirects in symfony through the database?
It is necessary through the admin panel to make redirect rules
like
/aboat -> /about
/catalog/item -> /item
Answer the question
In order to leave comments, you need to log in
Save redirect rules in the database. Create a listener for the kernel.request event, in which to make a request to the database with a check for the presence of a path in the table. Redirect if necessary
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question