Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #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?


    Hey edgold,

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

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

    Best regards,


    wonderful – seems to have worked perfectly. Thanks!



    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.