wordfence blocking external php script using wp-load.php
-
Hi,
I use wordpress for the login system of my website, even if the main website is not running on WP. My folder structure is:
https://www.example.com/index.php
https://www.example.com/blog/index.phpindex.php includes wp-load.php to get the username of the user currently logged in ($current_user->user_login)
The problem is that if Wordfence is enabled, index.php stops executing right after include(“blog/wp-load.php”);
How can I allow parent/root folder to include wp-load.php without being blocked by Wordfence?
Thanks
The topic ‘wordfence blocking external php script using wp-load.php’ is closed to new replies.