During web development and testing you might need to setup redirections from one domain name or URL to another. Google Chrome will cache those redirects for a long time and if you need to change them you'll need to clear the HTTP 301 redirections first and then setup new ones if still needed.
Below we present three methods you can use to clear the redirections cache from the Google Chrome browser.
This is the easiest method and targets only the redirect you want to remove.
If the first method doesn't work for you, try this more elaborate one which also deletes a specific 301 redirect only.
In case the above methods don't work for you, you might want to just clear the whole cache of Google Chrome. Please make sure you have nothing in your history for example that you want to preserve before proceeding.
Go to settings, privacy and security, and then click clear browsing data, select advanced, and clear everything. If you've just followed the redirect, you only need to delete data from the past hour for example.
Alternatively, from now on, make sure to test and develop in incognito mode as the cache will be flushed after the browser is closed in that case.
Happy coding!
Founder of SOFTKUBE, lead developer, and getting things done addict. Passionate about open source, user interface design, business development, and the tech world.
A small team of experts developing simple, usable, and high-quality web solutions. We blog about business, entrepreneurship, web development, and technology.
Gaining Access to a Legacy Google Apps Account When Phone Verification Fails
Custom Theme Migration from Drupal 9 to Drupal 10
How to Change the Most Recent Git Commit Message
How to Make Google Chrome Forget a Permanent HTTP 301 Redirect
Business Cheat Sheets CLI Design Development Downloads Drupal Email Google Apps HID Keyboards Multilingualism Open Source Philosophy PHP Pointing Devices Productivity Quotes Science Security SEO Technology Thoughts Windows Zend Framework