I downloaded and installed xamp for local web development, played around with some settings, and now localhost redirects to localhost/trish/tmurraywellness, but I can't figure out why.
My intention was to have a dns entry or similar on my laptop to associate local-dev.tmurraywellness.com to localhost/trish/tmurraywellness, so I could do my work as if I was on a sub domain of the live site. As a first step in accomplishing this goal I added an entry to the windows hosts file (C:/windows/system32/drivers/etc/hosts) to direct sub.localhost to localhost/trish/tmurraywellness, and added an apache rule to direct 127.0.0.1 to localhost/trish/tmurraywellness. This all failed so I undid everything, reverted the hosts file so it again has no rules in it. I erased the rule from the apache httpd.conf file.
Localhost was still being redirected to localhost/trish/tmurraywellness so I edited the .htaccess file in localhost as it had a rewrite rule that was directing localhost to localhost/trish/tmurraywellness(not sure where that came from since I didn't put it there. Mabye the Wordpress instalation?)
Tried again and it was still redirecting, so I deleted the .htaccess file and restarted apache. Still doing it....
Then I restarted my laptop assuming the hosts file changes wouldn't go into effect until after a reboot. It was STILL doing it
Then I uninstalled apache and reinstalled fresh(keeping the htdocs folder with all my files). Rebooted again and it is even still doing it.
I've checked everything, searched online, there are no rewrite or redirect rules in my apache httpd.conf file or the ssl conf file, nothing in my hosts file, no ht access rewrite rule. Nothing that I can see is causing a redirect, but in my browser localhost is still being redirected(301 redirect) to localhost/trish/tmurraywellness, which produces 404 since my files are no longer there.
I need to run my wordpress installation off of localhost directly and not the sub directory, but this redirection issue won't go away.
What else can I do to figure out why it is redirecting?
tldr;
Getting a 301 redirect from localhost to localhost/trish/tmurraywellness even though there are no rules or entries in my .htaccess file, the windows hosts file, or the apache conf files.