1

The answers given here do not match my problem. I accidentally landed on http://sub.domain.org/ which 301 redirected me to https://sub.domain.org/. Then I changed my server config so that it does not redirect me anymore, but Firefox keeps redirecting. The Firefox console log says:

GET http://sub.domain.org/            [HTTP/1.1 301 Moved Permanently 0ms]
GET https://sub.domain.org/

So question is: how to make Firefox forget this "permanent redirection" specifically? I would prefer not delete my whole cache.

Hugo Trentesaux
  • 1,584
  • 1
  • 16
  • 30

2 Answers2

3

Alternative solution, easy.

Open Firefox and in the address bar type this URL

http://sub.domain.org/?fake_parameter_to_bypass_cache

This should force the browser to reload the web page from http://

Massimo
  • 3,171
  • 3
  • 28
  • 41
0

I don't know from the user interface, I find this solution.

  1. Download the single executable sqlite3
  2. Close Firefox
  3. Find the directory where firefox has created your user profile.
  4. Find the places.sqlite file, it is a sqlite database.
  5. Open the datatabase

sqlite3 places.sqlite

and delete the specific records, for examples with

DELETE FROM moz_places WHERE url LIKE '%sub.domain.org%';

Repeat for the other tables (moz_hosts, moz_historyvisits, etc...).

Hint: make a copy of the file before your deletions.


To know which tables to prune, search on the web for

firefox forensics history

For example I found this article

Massimo
  • 3,171
  • 3
  • 28
  • 41