So we switched a website from example.com to
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:
- Open a new tab.
- Type the url in the search box: chrome://net-internals/#dns
- Hit the “Clear host cache” button. And you are done as DNS is flushed out.
- Open another tab and type URL: chrome://net-internals/#sockets
- 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.