Site home page is different from WordPress installation directory
-
Hi. Thanks for this nice plugin.
In the case when Site home page is different from WordPress installation directory
there are some issues I am facing.
When I activate the plugin it works – it shows the default WordPress Login Page.But issues are when I want to Whitelist certain pages or to have a Custom login – register etc.
I think it is because the home_url mentioned in the code in Functions.php is different from Site home page etc.
I am not great with coding. Please helpI am using these codes you wrote earlier.
function my_forcelogin_whitelist( $whitelist ) {
$whitelist[] = home_url
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Site home page is different from WordPress installation directory’ is closed to new replies.