That is not really relevant to the URL removal q, but i will explain the migration task I need to do.
The current app is very large, 80K lines of code, over 100 tables and 6 companies running on separate domains and db's.
2 dir levels,1st for front end and 2nd for admin (backend).
I have been testing various frameworks for the last year and each of the best are hard to have running alongside an old PHP 5.3 app.
I could not get Laravel to run the admin level ( placed the site in public).
It would login, but than just come back to login again.
So I moved the old app back up to the root to see if I could change one link at time to somehow route to Laravel.
But that too was problematic and getting at the session was a no go.
So I thought why not create a sub domain for Laravel under the old sites... oldsite.com and oldsite.com.2
Now I could link via the 2nd site and routing works.
But, no session data no matter what I tried.
So I decided to roll my own. This actually was something I thought of quite a while ago.
So I created a very small driver program which is used for any converted link.
2a.php?routename gives the name of the route to the driver.
Now to get the session data I need, the driver inserts a record into the utickets table with the data laravel will need to determine which user's info is to be pulled. To tell Laravel what ticket it is I pass a random # in very large range and Laravel finds that with the route+number.
Once found the ticket is set inactive.
So in the Laravel routing when it sends the request to the browser I have the number there as a parameter.
My question is how do I remove that in the routing process as it is not needed?