I've been trying to figure this out for a while on this one particularly large site.
Every single URL on every page and menu, even the admin menu as the wrong url. I've tried this with WAMP, MAMP, Vagrant, Docker and Docksal with the same results.
A better explanation: I'd expect all urls to be what I've setup on my local machine as the base. Like mysite.loc, or for docksal, mysite.docksal.
But when I pull the repo for this site and set it up, then load it...all urls are the production urls. Anything I click on goes to production. All submit buttons goto production. Almost like they are saved in the DB, but the definitely aren't.
I've tried setting the base URL. That doesn't work.
I've turned off all the modules, both contrib and core. That doesn't work.
I've changed themes. That doesn't work.
It's something within the filesystem of this site but I'm not sure where to look at this point. Probably a hack someone put in somewhere.
Any thoughts of where to look?