Make Uploaded Files Private in MediaWiki (Logged-In Only): Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 September 2025

  • curprev 15:1315:13, 4 September 2025 Ryan talk contribs 2,151 bytes +2,151 Created page with "<span id="move-the-images-folder-out-of-the-web-root"></span> === 1. Move the <code>images/</code> folder out of the web root === * By default, uploaded files are in <code>yourwiki/images/</code>. * Move this folder '''outside the public web root''' so people can’t access it directly through a URL. ** Example: instead of <code>/var/www/html/wiki/images/</code>, put it in <code>/var/www/private/images/</code>. ----- <span id="configure-wguploaddirectory-and-wgupload..."