@cari18
1. does Force Login addbthe meta balise “no index” in the site page?
No, Force Login does not alter any page. It only triggers a server-side redirect to the WP login screen if the visitor is not logged-in.
2. does’t it make sense to whitelist the site url which mean:
$whitelist[] = home_url( ‘//’ );
or
$whitelist[] = home_url( ‘/wp-login.php/’ );
I’m not sure what you’re asking here. If you want to whitelist the homepage, you may do so using the home_url( '/' );
method.
You don’t need to whitelist the /wp-login.php
page because Force Login already allows the WP login page to be publicly accessed (since that is the page Force Login redirects all visitors to).
How you want to whitelist or bypass Force Login, for whichever page(s), is up to you. Examples can be found in the FAQs.
Thanks for using Force Login and good luck!