Robot meta index issue

#419961
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Thank you for contacting Rank Math today.

    If Profile is a post type on your website, you can easily set it to index with Rank Math.

    Go to Rank Math > Titles & Meta > Profile > Enable Profile Robots Meta > Check index checkbox

    Let us know how that goes..

    Thank you.

    ​​​​​​

    Hi,
    I don’t have any profile option in Rank Math > Titles & Meta > Profile > Enable Profile Robots Meta
    Image – https://ibb.co/42jKm88

    Thank you

    Hello,

    Can you please confirm if this profile page is the same as the author page with the URL just changed? If so, kindly edit the robots meta in Rank Math > Titles & Meta > Authors instead.

    If that isn’t the case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Nigel
    Rank Math business

    Hello,

    thank you for your patience as we look into how to set the user profile pages to index on your website.

    Please contact your theme support as the theme has a setting to index author pages. If they find a conflict with Rank Math, please ask for the conditional statement to check if the current page is a profile page and we might be able to provide a code snippet that can set the correct status.

    Hope that helps. Please let us know if you have questions.

    Hello Rank Math Team,
    I had contacted the theme support, they are saying this(Image attached).
    Image – https://ibb.co/6Y8xg3s

    Thank you

    Hello Rank Math Team,
    I am waiting for your response.

    Thank you

    Nigel
    Rank Math business

    Hello,

    Thank you for your patience as we look into your issue.

    Please use the code snippet below:

    
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
        if ( ! wpqa_is_user_profile() ) {
            return $robots;
        }    
        $robots['index'] = 'noindex';
    	return $robots;
    });
    

    You can follow this guide for how to add code snippets to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps. Please let us know if you have questions.

    Hello Nigel,
    I add this code to rank-math.php, but this code is not working.
    Image – https://ibb.co/fd0L0tS
    Url – view-source:https://www.hindifriend.com/profile/nitesh/

    Thank you

    Hello,

    I checked the page source of the affected page and it seems to be set to noindex already as you can see in my screenshot below:

    noindex

    Can you please try clearing your website cache and check again?

    Looking forward to helping you.

    Hello Rank Math Team,

    It appears you might have interpret it wrong, what i meant was to do the page indexing.

    – Hindistack

    Nigel
    Rank Math business

    Hello,

    Thank you for your patience.

    I adjusted the code snippet and now user profile pages are set to ‘index’. Please check the page: https://www.hindifriend.com/profile/nitesh/

    Hope that helps. Please let us know if you have questions.

    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 12 replies - 1 through 12 (of 12 total)

The ticket ‘Robot meta index issue’ is closed to new replies.