I was able to solve the issue by shifting the redirect rules for phpmyadmin to the frontend instead of trying to path it out on the backend. This resolved the issue for me.
Front End
e80ffba8-07fd-4520-8b54-abf5e3bdff8e-image.png
dd4aa560-b111-4f7a-8489-ef46975a5039-image.png
Since the pathing now happens in the front end, I was able to clean up the backend and it's just a simple passthrough in the case of phpmyadmin.
Hopefully, this helps someone else out too. There's probably a more elegant way to solve this, but it did the trick for me.