Yeah I thought that was kind of weird too. I may need to explain something after all.
I came from WordPress.com which had a private mode. It was super easy to set, but it was such a limited experience and my mind was exploding with ideas. Ever since I moved to my own website, I’ve been trying to replicate a private mode that not only prevents access to the site, but also access to the files on it. This website is basically a journal.
That’s where this ‘private’ folder comes in. I’m using a plugin called Private Uploads. This plugin prevents access to said files. My webhost uses Apache, and so I was required to edit the .htaccess file with the appropriate script found in the installation instructions:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Block unauthenticated user access to the /private/ uploads folder
RewriteRule ^wp-content/uploads/(private)/(.*)$ /?pucd-folder=$1&pucd-file=$2 [L]
</IfModule>
It works really well too!
Unfortunately, moving my files over to it has been kind of messy, as you might be able to tell. And I really need some guidance on how to get myself back up and running, because I just feel so lost right now lol. ??
-
This reply was modified 5 years, 8 months ago by wooferdog.
-
This reply was modified 5 years, 8 months ago by Jan Dembowski.