Whitelist Author of Private Post

You can use the post_password_required filter. function wpse406803_whitelist_author( $required, $post ) { //Check if current user is the post author if ( $post->post_author == get_current_user_id() ) { return false; } } add_filter( ‘post_password_required’, ‘wpse406803_whitelist_author’, 10, 2 );

Is user listing on wordpress private?

No, user data is not visible to the outside world, or to google, unless you specifically make it visible in the theme somehow. One piece of user data is exposed for authors of posts though. Specifically, their login names are visible in many places.

Are private posts visible to search engines?

Search engines SHOULD respect the industry standard robots.txt file which you could use to block access to a post type. Such as blocking access to anything under example.com/deals. You could also go above and beyond and check the $_SERVER[‘HTTP_USER_AGENT’] for bots. Something like: $bot_list = array(“Teoma”, “alexa”, “froogle”, “Gigabot”, “inktomi”, “looksmart”, “URL_Spider_SQL”, “Firefly”, “NationalDirectory”, “Ask … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)