Author pages not respecting nofollow tags

#10556
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have been able to reproduce this bug and this has been reported to our developers. At the moment, you can add the following code on your theme’s functions.php file to fix this:

    /**
     * Rank Math filtering of author archives robots meta data.
     *
     * @param array $robots The meta robots directives.
     */
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	if(is_author()){
    		$robots['index'] = "noindex";
                    $robots['follow'] = "nofollow";
    	}
    	return $robots;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Will wait for your plugin update. Thank you! 🙂

    Hi there,

    Thanks for the follow up.

    Great! Feel free to contact us should you run into any other issues.

    Thank you.

    Hello,

    Can you please update your plugin to the latest version i.e v1.0.30.2 and see if the issue is still happening?

    Looking forward to helping you. Thank you.

    Does not work yet. It still says “follow, index”.

    You can check this out here= https://seoalive.com/author/davidkaufmann/

    Thank you!

    Hi there,

    Thanks for the follow up.

    This feature works correctly on my end. Would you mind heading over to Rank Math > Titles & Meta > Authors and hit save once while the noindex option has been checked?

    If the issue persists, please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Author pages not respecting nofollow tags’ is closed to new replies.