Okay so magento has a very handy routes table where any change spawns a new row in there, so any old urls dont immediately 404, I was trying to come up with a decent way to make it performant,since magentos one is partly why its slow as hell...
Easiest way as far as I can see is to make it have a redirect to id, when a new route for that group gets added, mass update that ID, query will be done to get the current url from the db, and then another to get the route for the redirect
Thoughts?
Okay so magento has a very handy routes table where any change spawns a new row in there, so any old urls dont immediately 404, I was trying to come up with a decent way to make it performant,since magentos one is partly why its slow as hell...
Easiest way as far as I can see is to make it have a redirect to id, when a new route for that group gets added, mass update that ID, query will be done to get the current url from the db, and then another to get the route for the redirect
Thoughts?