Meta box doesn’t appear

#452934
  • Hi there!

    I want to edit the canonical tag for pages that appear on the Google search console coverage report but the meta box of Rank Math doesn’t appear. Could you please help me out?

    null

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

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

    It seems that you are sharing the screenshot of the page’s admin bar.

    To access the meta box or Rank Math’s SEO controls, you need to access the page’s editor. You can see that on the right side if you are on Gutenberg.

    If the issue persists, please share a screenshot from your end on the editor.

    Looking forward to helping you on this one.

    Hello,

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

    Thank you.

    Thank you for your reply.

    These are user-generated pages like (filters, facets, internal search) that I got them from Google Search Console. They aren’t published/ real pages on my website. That’s why I can’t access them using the page editor. I updated the sensitive data box and submitted some URLs, so you can understand the kind of pages I’m pointing to.

    Hello,

    for shop pages like /shop/page/ you will need to use a filter code similar to the one below:

    
    /**
     * Allow changing of the canonical URL.
     *
     * @param string $canonical The canonical URL.
     */
    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
    	return $canonical;
    });
    

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

    That said, the current canonical looks fine. Please may you share why you want to change the canonical so we can better understand how to help you.

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.