Cannot link to local files from within Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community


It's not possible to link to a local file from within Confluence using a file:// URL. 


Modern browsers have security features that prevent linking from remote web pages to local content. URLs that begin with the file:// URI Scheme can only be loaded directly (by typing them into the location bar) or from pages that are loaded using the file:// URI scheme.


  • You can work around the problem by either importing the content into Confluence itself or by setting up a local web server that can host the content using another protocol which won't trigger this error (http://, https://, ftp:// etc.).
  • You can also install a browser extension that will enable local file links
  • You can try to open the same page in IE ( Internet Explorer ), where local files like file:// used as URL. It seems IE works in such a case. 

Last modified on May 31, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.