OK, I am adding a post-script just in case it is useful for anyone else… and for me if i forget! I was still concerned that my forum files would be accessible to someone not logged in but who had somehow obtained the direct link. So I found a relatively easy method to make sure that only logged in users would be able to access that link – it does require that you have access to the server files.
- Install the following plugin and activate it: Private WP suite
- Enable the “disable feed” and “protect uploads” options from within the plugin’s settings tab.
- Access the server files and copy the wp-content/uploads/.htaccess file to your forum upload directory
- Now, delete the wp-content/uploads/.htaccess file (or restore it if it existed previously – by default in WordPress, it does not exist).
- Finally, edit the .htaccess file you have just created in your forum uploads directory so that the RewriteBase variable reflects the actual location of said file as follows:
# Start Private WP suite rewrite rules
RewriteEngine On
RewriteBase /[path to this file on your server]/wp-content/uploads/
RewriteRule . /[your root directory]/nonexsistent_file_to_trigger_404_error
Options -Indexes
# End Private WP suite rewrite rules
In my case, this has allowed for an publicly accessible website with an integrated but completely private forum.
Would like to humbly suggest some sort of integration of Private WP Suite with Simple Press as a possible future development as I am sure others would like a fully private forum with a user upload capability rout-of-the-box.