• Resolved yrzhn

    (@yrzhn)


    Hello ??

    I got a message from Google Search Console that some pages were Excluded by ‘noindex’. It’s okay as most of them are unimportant, however, among them there is the page with Events (calendar view) which for some reason has the following line of code:

    <meta name="robots" id="tec_noindex" content="noindex, follow" />

    I would like to ask where or how to disable this as I want the page to be indexed by search engines.

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

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Support Guga Alves

    (@gugaalves)

    Hi there!

    That’s something really happening, Google is correct!

    We’re already working on a fix for that, but meanwhile we recommend adding the following PHP snippet in your theme’s functions.php file, or using the Code Snippets plugin:

    function custom_remove_noindex() {
       $context = tribe_context();
       if ( $context->is( 'tec_post_type' ) ) {
          add_filter( 'tec_events_add_no_index_meta_tag', '__return_false' );
       }
    }
    
    add_filter( 'template_redirect', 'custom_remove_noindex', 999 );

    Best regards!

    Internal Ticket Reference: TEC-4960

    folletti

    (@folletti)

    @gugaalves Thanks, I have same problem but not only with page of Calendar but all pages of Tags. With your code in functions.php I have resolve but attend the fix.

    Plugin Support Guga Alves

    (@gugaalves)

    Hi @folletti,

    Yes, our internal bug ticket has a nomte mentioning that this is also affecting tag pages. That should be fixed for the next plugin version ??

    Plugin Support Darian

    (@d0153)

    Hi @folletti

    I apologize for the late update. We are pleased to inform you that the latest update of our plugin should be able to fix the problem you reported.

    We suggest you update your plugins as soon as possible and let us know if the issue persists. As always, please test it first on a staging site to avoid unnecessary downtime to your live site.

    Let me know how it goes.

    folletti

    (@folletti)

    Hi @d0153,

    I have updated for 6.2.7 and the last 6.2.8 but the problem is not resolve.
    The “noindex” is resolve only use the PHP code in functions.php propose in the last post of @gugaalves.
    Thanks for support

    Plugin Support Darian

    (@d0153)

    Hi @folletti

    Thanks for your message.

    If you have a caching plugin or server-side caching, please try to disable them temporarily, and see if that makes a difference.

    If that doesn’t help, could I ask for the URL of your calendar page? I want to check it further on my side.

    Looking forward to your reply.

    folletti

    (@folletti)

    Hi @d0153
    I had already checked the cache, the problem does not resolve.
    Other problem but is not influent of the “no index” is with in the tags page the plugin of calendar write “There are no events scheduled.”
    The link of calendar: https://www.aronanelweb.it/appuntamenti/

    thanks for support

    Plugin Support Guga Alves

    (@gugaalves)

    Hi @folleti,

    What is the exact issue you’re trying to resolve?

    Note that is normal to have Google Search Console listing some pages as “Excluded by noindex”. That’s not a bug or major problem, but a expected behavior as our plugin add noindex for most calendar views except the list view. We recommend having the list view enabled and that’s enough to have Google finding your events, there’s no need to have all Calendar views indexed as those only have links for the exact same events (just being a different visual presentation for site visitors, but showing nothing new for google bots).

    The Events Calendar v6.2.6 includes some important changes to the default SEO settings provided by our plugin and includes some changes to increase and improve the possibility of customizing the default behavior of the plugin through filters to control the robots meta tag used by our plugin.

    Here are some articles we’ve published and are related to those changes:

    • This reply was modified 1 year ago by Guga Alves.
    folletti

    (@folletti)

    @gugaalves, if I don’t use the your FIX insert in functions.php, the “no index” is for all tags pages, not only for calendar.

    Plugin Support Guga Alves

    (@gugaalves)

    Hi @folleti,

    The “fix” I’ve shared is a temporary workaround, please note that removing noindex from every calendar page is not that benefical for your website as the noindex is used to avoid duplicated content on your calendar views (Google don’t need to index all calendar views as they only show the exact same content but on a different layout for your visitors).

    Based on that, it’s normal to have Search Console showing that the some calendar views are not indexable as that’s planned, and the Warning you see on Search Console is not an Error or something that hurt your site as the events are still being indexed properly, Warnings are not Fatal errors.

    If noindex is being added on tag pages, that should be a bug. I’ll try to reproduce it on a local instalation and be back here to share what I find about that.

    • This reply was modified 12 months ago by Guga Alves.
    Plugin Support Guga Alves

    (@gugaalves)

    Hi @folleti,

    Visiting the site you’ve mentioned (https://www.aronanelweb.it/appuntamenti/) I can’t see tags being added to your events, so I was not able to find an event tag URL to check that. Also, I can’t reproduce that issue in our demo site at https://demo.theeventscalendar.com/events/tag/hosted-dinner/, so I can’t see a pattern causing that.

    Would you please share a link to an event tag in your website?

    • This reply was modified 12 months ago by Guga Alves.
    folletti

    (@folletti)

    Hi @gugaalves
    the problem is not in events tags but in tag of blog. Example https://www.aronanelweb.it/tag/comunicato-stampa/ but now is active your  PHP fix functions.php.

    Plugin Support Guga Alves

    (@gugaalves)

    Got it!

    So, I was not able to reproduce that issue, but by tweaking the snippet I’ve shared you can make it remove the noindex only from tag pages. Here’s an updated version:

    function custom_remove_noindex() {
       $context = tribe_context();
       if ( $context->is( 'tec_post_type' ) && is_tag() ) {
          add_filter( 'tec_events_add_no_index_meta_tag', '__return_false' );
       }
    }
    
    add_filter( 'template_redirect', 'custom_remove_noindex', 999 );
    folletti

    (@folletti)

    Thanks @gugaalves for your support, I have update the PHP fix in functions.php and is ok.

    folletti

    (@folletti)

    @gugaalves I have the other problem, not depend of “noindex”, only with tags pages of the blog with the widget, not working and writes: There are no events scheduled. Example:?https://www.aronanelweb.it/tag/comunicato-stampa/?while in all other page the widget is ok.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Excluded by ‘noindex’ (tec_noindex)’ is closed to new replies.