Home > OS >  Clear site data for a single site in Google Chrome which now redirects
Clear site data for a single site in Google Chrome which now redirects

Time:08-16

So we switched a website from example.com to Screenshot of Dev Tools, Clear Site data

But how can I do this for example.com which directly forwards me to www.example.com ? I could not find an option in the dev tools to switch the domain I am looking at.

CodePudding user response:

Chrome has it`s own DNS-Cache. I had that issue a lot and started to use CURL in the terminal instead when checking whether a redirect is working or not.

But Afaik you can also clear that cache:

  1. Open a new tab.
  2. Type the url in the search box: chrome://net-internals/#dns
  3. Hit the “Clear host cache” button. And you are done as DNS is flushed out.
  4. Open another tab and type URL: chrome://net-internals/#sockets
  5. Click on the “Flush socket pools” button. Close the Google chrome tab.

source: https://www.cyberciti.biz/faq/google-chrome-clear-or-flush-the-dns-cache/

At least that worked in some cases for me.

CodePudding user response:

Can you verify that it is a browser problem and not a shopware / server problem? Did you check that the URLs in the html for loading the fonts is the correct URL, or is the old URL still used in the html?

If thats the case you should ensure that you also updated the URL in the sales channel domain settings and also update the APP_URL environment variable. After that clear the cache.

  • Related