Meta details won’t appear for CPT archive page

#477248
  • Resolved Nicolas Trianta
    Rank Math free

    I have added a custom post type called Instructors on my WordPress page, and I would like to edit the meta tag via rank math of the Instructor archive page (which is the main page for this CPT) with an elementor template, but I am having trouble with this. I found this piece of code from one of your articles

    add_filter( 'rank_math/excluded_post_types',function( $post_types) {
    $post_types['elementor_library'] = 'elementor_library';
    return $post_types;
    }, 11 );

    I am able to see the “My Template” option in the SEO Title and Meta section, and I see the SEO options on elementor for that archive page template, but even after entering my own meta title and meta description, I am still not seeing them appear, and the meta tag analyzer on your website confirms that my changes are not appearing.

    Please help. Thank you
    Nicolas T.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

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

    That code is to get the ability to add the SEO Controls on the Elementor Templates but the actual pages themselves are different, even if generated from this template.

    ​​​​​​​Unless those pages appear in the backend as an actual page it’s not possible for our plugin to include the options for them.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you for your reply. I am not really sure I understand why this is not possible. Is there a work around for this? How else can I make archive pages SEO optimized? Thank you.

    Hello,

    For now, you can optimize the SEO of the archive page of your CPT in the Titles & Meta settings since the SEO settings from the Elementor template will not be applied to that page.

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

The ticket ‘Meta details won’t appear for CPT archive page’ is closed to new replies.