Chrome keeps redirecting url
I was working on my wordpress website and I accidentally changed the internal URL of the site and accessed it once. Since then chrome automatically redirects to that URL even though I have reverted everything. Everything works fine in every other browser (even chrome incognito) but regular chrome doesn't want to cooperate.
Problem:
- I type in mydomain.com
- Google redirects me automatically to mydomains.com
- I go to mydomain.com/uri. Works fine.
- I click on home from mydomain.com/uri which points to mydomain.com and chrome redirects to mydomains.com
I have flushed my DNS and sockets pools in chrome, I have cleared the DNS on windows as well. Not quite sure what else I can do?
Solution 1:
Browsers these days often times cache redirects. You need to clear your file cache from before your mistaken change. From Stackoverflow
To force clear htaccess/redirect caches in Google Chrome:
- Go to Settings > Advanced > Privacy > Clear Browsing Data
- Select "Cached Images and Files"
- Click Clear Browsing Data