Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1208328

    Hi, I’ve just switched from Yoast to Rank Math as my SEO plugin, and the Rank Math feature to index category pages doesn’t work.

    I’ve disabled all plug ins and see that Enfold tags category pages as noindex. I’ve found a thread on here with suggested code to add to the functions.php file to resolve this issue, but this causes a critical error on my site (“There has been a critical error on your website.”). Any ideas?

    #1209156

    Hey edgold,

    Can you try adding this code in functions.php of your child theme:

    add_filter('avf_set_follow','avia_set_follow');
    function avia_set_follow(){
      $meta = '<meta name="robots" content="index, follow" />' . "\n";
      return $meta;
    }

    Best regards,
    Nikko

    #1209540

    wonderful – seems to have worked perfectly. Thanks!

    #1209747

    Hi,

    I’m glad this was resolved if you need additional help please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to index category pages’ is closed to new replies.