# Firefox: File not found

> Firefox shows File not found for file: addresses it cannot open. Check the path, capitalization and relative links, then serve the folder over HTTP locally.

Canonical: https://scaplet.com/errors/browser/firefox-file-not-found

Guide Error · Browser errors

Firefox shows File not found for file: addresses it cannot open. Check the path, capitalization and relative links, then serve the folder over HTTP locally.

3 min

read

5

sources

Oct 31, 2026

updated

Scaplet Editorial Team

author

In one line

Firefox's "File not found" page appears for a local `file:` address, not for a website. Firefox says it "can't find the file" because it "either doesn't exist or the path is incorrect". Check the path in the address bar for typos and capitalization, confirm the file was not moved or renamed, and serve the folder over HTTP if links inside the page break.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-file-not-found%20(%22Firefox%3A%20File%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-file-not-found%20(%22Firefox%3A%20File%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-file-not-found%20(%22Firefox%3A%20File%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-file-not-found%20(%22Firefox%3A%20File%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 3 minutes.

1. [This is a local-file error, not a 404 01](#this-is-a-local-file-error-not-a-404)
2. [When links inside your page cause it 02](#when-links-inside-your-page-cause-it)
3. [Quick checks and the SEO angle 03](#quick-checks-and-the-seo-angle)

_01_Firefox's built-in advice, and what to do with it

## This is a local-file error, not a 404

The wording comes from Firefox's own error-page strings. The [page title](/glossary/title-tag) is "File not found". The intro reads: "Firefox can't find the file at <path>. It either doesn't exist or the path is incorrect." The path in that sentence is a local path, so you are looking at a `file:` address on your own machine. A missing page on a website is a different [thing](/glossary/entity), an [HTTP 404](/errors/http/404) from a server.

Firefox says

### "Check the file name for capitalization or other typing errors."

What to do

Compare the address bar with the real file name letter by letter. MDN notes that many computer systems, including most web servers, are case-sensitive, so `MyImage.jpg` and `myimage.jpg` can be different files

Firefox says

### "Check to see if the file was moved, renamed or deleted."

What to do

Open the folder in your file manager. For a bookmark, the file may have moved since it was saved

Firefox says

### "If you typed the address manually, check for capitalization mistakes or typos in the file name or path."

What to do

Open the file from your file manager instead of typing the path

Firefox says

### For file access problems: "It may have been removed, moved, or file permissions may be preventing access."

What to do

Check the file's permissions in your operating system.

_02_How it works

## When links inside your page cause it

If the first page opens but a click, stylesheet or script then lands on File not found, the problem is a relative link. MDN describes a domain-relative URL such as `/en-US/docs/...` as one where the browser reuses the protocol and domain of the document that contains it. A `file:` document has no website domain, so the address Firefox shows in the error is the thing to read: if it points at a folder you did not expect, the link is resolving somewhere else than your project.

1. 1

### Read the address in the error

Copy the full `file:///...` address from the address bar. It shows exactly where Firefox looked.
2. 2

### Compare it with the project folder

If the path starts at your disk root or a parent folder instead of the project, change `/css/app.css` style links to relative links such as `css/app.css` or `../css/app.css`.
3. 3

### Or serve the folder over HTTP

Run a local web server so links behave as they will in production. Python's built-in module takes a directory option.

Serve the current folder at http://localhost:8000 (Python docs)

```
# From the project folder python -m http.server 8000 --bind 127.0.0.1 # Or point it at a folder python -m http.server 8000 --directory ./dist # Then open http://localhost:8000/ in Firefox
```

**Only for local development**The Python documentation says `http.server` "is not recommended for production. It only implements basic security checks." Bind it to `127.0.0.1` as above so it is not reachable from other machines.

_03_Checklist

## Quick checks and the SEO angle

1. 01 Does the address start with `file:///`? If it starts with `https://`, you have a different error, such as [server not found](/errors/browser/firefox-server-not-found)
2. 02 Do file and folder names use lowercase and hyphens with no spaces? MDN recommends this to avoid case and encoding issues
3. 03 Did a build step move the output, for example from `build/` to `dist/`?
4. 04 Did you open a shortcut or bookmark saved before the folder was renamed?

Nothing here affects search: `file:` addresses exist only on your machine. If you are fixing a broken link that will go live, the web-side equivalent is a 404 or a rewrite problem, covered in [404 Not Found](/errors/http/404).

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- github.com
- mozilla.org
- python.org

1. 01 [Firefox source: neterror strings (netError.ftl)](https://github.com/mozilla-firefox/firefox/blob/main/toolkit/locales/en-US/toolkit/neterror/netError.ftl) github.com · checked 2026-11-01
2. 02 [Firefox source: certError.ftl (fileNotFound-title)](https://github.com/mozilla-firefox/firefox/blob/main/toolkit/locales/en-US/toolkit/neterror/certError.ftl) github.com · checked 2026-11-01
3. 03 [MDN: What is a URL?](https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_URL) developer.mozilla.org · checked 2026-11-01
4. 04 [MDN: Dealing with files](https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Environment_setup/Dealing_with_files) developer.mozilla.org · checked 2026-11-01
5. 05 [Python documentation: http.server](https://docs.python.org/3/library/http.server.html) docs.python.org · checked 2026-11-01

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What does Firefox File not found mean?

Firefox cannot find the local file at the path in the address. Its message says the file either doesn't exist or the path is incorrect.

_02_ Why does it say file not found for a file that exists?

Check capitalization and the exact path; many systems are case-sensitive. Also check whether links inside the page point to a different folder than you expect, and whether permissions block access.

_03_ How do I open a local site without this error?

Serve the folder over HTTP, for example with `python -m http.server`, and open `http://localhost:8000/`. The Python docs mark it as not for production use.

_04_ Is this the same as a 404 error?

No. A 404 is a [status code](/glossary/http-status-codes) from a web server. File not found is Firefox's own error page for a local file it cannot locate.

## Keep learning

[All errors](/errors)

[Learn Firefox Server Not Found Browser errors](/errors/browser/firefox-server-not-found) [Related HTTP status codes Crawling and indexing](/glossary/http-status-codes) [Read next Firefox: the connection has timed out Browser errors](/errors/browser/firefox-the-connection-has-timed-out) [Do Run a free site audit Free, about two minutes](/site-audit)

More Firefox errors
[Firefox Server Not Found](/errors/browser/firefox-server-not-found) [Firefox: "Secure Connection Failed"](/errors/browser/firefox-secure-connection-failed) [Firefox: the connection has timed out](/errors/browser/firefox-the-connection-has-timed-out) [Firefox: Warning: Potential Security Risk Ahead](/errors/browser/firefox-warning-potential-security-risk-ahead)

More in Browser errors
[Access-Control-Allow-Origin](/errors/browser/access-control-allow-origin) [Aw, Snap!](/errors/browser/aw-snap) [blocked:mixed-content](/errors/browser/blocked-mixed-content) [Chrome out of memory](/errors/browser/chrome-out-of-memory) [Firefox Server Not Found](/errors/browser/firefox-server-not-found) [Firefox: "Secure Connection Failed"](/errors/browser/firefox-secure-connection-failed) [Firefox: File not found](/errors/browser/firefox-file-not-found) [Firefox: the connection has timed out](/errors/browser/firefox-the-connection-has-timed-out) [Firefox: Warning: Potential Security Risk Ahead](/errors/browser/firefox-warning-potential-security-risk-ahead) [Refused to apply style ... because its MIME type](/errors/browser/refused-to-apply-style-from-because-its-mime-type) [Safari can't find the server](/errors/browser/safari-can-t-find-the-server) [Safari can't open the page](/errors/browser/safari-can-t-open-the-page) [Safari: "This Connection Is Not Secure" and related warnings](/errors/browser/safari-this-connection-is-not-private) [SSL certificate problem: unable to get local issuer certificate](/errors/browser/ssl-certificate-problem-unable-to-get-local-issuer-certificate) [Text content does not match server-rendered HTML](/errors/browser/text-content-does-not-match-server-rendered-html) [This page isn't working](/errors/browser/this-page-isn-t-working) [This site can't provide a secure connection](/errors/browser/this-site-can-t-provide-a-secure-connection) [Uncaught ReferenceError: x is not defined](/errors/browser/uncaught-referenceerror-is-not-defined) [Uncaught TypeError: Cannot read properties of undefined](/errors/browser/uncaught-typeerror-cannot-read-properties-of-undefined) [Your connection is not private](/errors/browser/your-connection-is-not-private) [Your connection is not private in Chrome (on every site)](/errors/browser/your-connection-is-not-private-chrome)

Terms on this page
[Title tag](/glossary/title-tag) [Entity](/glossary/entity) [HTTP status codes](/glossary/http-status-codes)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
