I have a folder on my WordPress site (named documentation; see screenshot), where I host a bunch of static HTML pages. How can I restrict access to the folder, so only logged in users are allowed to see it's content?
I tried to implement this solution How to Protect Uploads, if User is not Logged In? but when ths user is logged in, he gets a 404.
Thanks in advance...
I have a folder on my WordPress site (named documentation; see screenshot), where I host a bunch of static HTML pages. How can I restrict access to the folder, so only logged in users are allowed to see it's content?
I tried to implement this solution How to Protect Uploads, if User is not Logged In? but when ths user is logged in, he gets a 404.
Thanks in advance...
Share Improve this question edited Jun 15, 2020 at 8:21 CommunityBot 1 asked May 31, 2019 at 11:05 Luke WageLuke Wage 1011 Answer
Reset to default 0Hi im very noob in wordpress but maybe this can give you some google results: Wp_nopriv Wp_priv
I think these were things for AJAX(the thing i just have experienced). But they had to do with the user being logged in or not. I wish you goodluck.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745433326a4627493.html
评论列表(0条)