How to protect MediaWiki so only registered members can read?

If you want to set up MediaWiki in a way that only registered members can read, you have to edit the following lines in your LocalSettings.php file accordingly:

$wgWhitelistRead = array("Special:Userlogin", "-", "MediaWiki:Monobook.css" );

$wgGroupPermissions['*']['read'] = false;

The LocalSettings.php file can be modified using cPanel's File Manager, or via FTP.

You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!