• Resolved 1benk1

    (@1benk1)


    Hello,

    multiple <meta name="robots">-specifications cause undesired behavior for robots.

    In the method um_profile_dynamic_meta_desc the <meta name="robots">-information is simply added to the <head>, which means that there are several meta information in the HTML.

    Most plugins and themes use the wp_robots-hook for this.

    For example, if you have Yoast SEO installed and the profile pages are set to index/follow by default, then even if a non-indexing is desired in the Ultimate Member profile settings, the meta specification of Yoast with index/follow would override the noindex/nofollow.

    Since it is in the privacy settings, I see a really big problem here.

    Best regards,
    Ben

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @1benk1

    Sorry, I can’t understand your question. Can you clarify it please?

    We cannot control all the settings and conditions of the sites. There are a lot of hooks or 3rd party plugins for deeper customization.

    Regards.

    Thread Starter 1benk1

    (@1benk1)

    Hello again,
    there is a very common way to modify the meta informations for robots from WordPress, this is the hook wp_robots -> best practice

    Using the hook wp_head and just write <meta name="robots" content="...">to the <head> is worst practice, as you will have duplicate and misleading robots information in the HTML.

    If you take a look into the method um_profile_dynamic_meta_desc, there unfortunately the last variant is implemented.

    Best regards,
    Ben

    Plugin Support andrewshu

    (@andrewshu)

    Hello @1benk1

    Thank you for your feedback.

    You could disable the UM hook if you need this.

    remove_action( 'wp_head', 'um_profile_dynamic_meta_desc', 20 );

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @1benk1

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘multiple robots-specifications cause undesired behavior’ is closed to new replies.