Hi,
I want to create url rewriting functionality (think; like Magento has - allowing me to redirect one url to another with a selected statuscode; e.g. 301) in my CMS for a "client" I have. I wonder how this would work.
The database is already setup to handle it, but I need to be able to redirect the visitor before routing (I imagine?) but I can't find an event that is fired before routing, that will actually work for this purpose.
Any suggestions are more than welcome.
Thanks!
I figured out how to.
Should you be wondering, I registered a new middleware in my Kernel.php (app/Http/Kernel.php) in $middleware
That checks for rewrites.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community