• Resolved utentone

    (@utentone)


    Hi, i would like to have category archive pages indexable, i have them in sitemap but they outpout this code <meta name='robots' content='noindex, follow' />, is it something related with slim seo, as i can see by default archive pages are indexable in slim seo, is that right? thanks

    • This topic was modified 2 years, 5 months ago by utentone.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @utentone ,

    The plugin doesn’t put meta noindex for categories by default. You can see more details here:

    https://docs.wpslimseo.com/slim-seo/meta-robots-tag/

    It might be something else. By the way, I see you marked this topic resolved. Have you figured it out?

    Thread Starter utentone

    (@utentone)

    Hi, yes i used this script in your docs:

    add_filter( 'slim_seo_robots_index', function( $value ) {
    
        // Disable for other archive.
        if ( is_archive() ) {
            return false;
        }
    
        return $value;
    } );

    with “true” istead of false, and seem to work, maybe something overwrote default value ?? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Index taxonomy archives’ is closed to new replies.