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

    (@gugaalves)

    Hi @sandeld,

    Checking the URL you’ve shared as the page you need help with, I can see a <meta name=’robots’ content=’index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1′ /> on it, so that page is not with noindex on the page header…

    Can you show me which pages have you seen the noindex added on your robots meta?

    Thread Starter sandeld

    (@sandeld)

    Bizarre. Last night when I started the thread, every single page was “noindex,” regardless if there were events or not.

    Today, every single page IS indexed, even if there are no events.

    With an event: https://marinlivingmagazine.com/community-calendar/2023-01-22/

    Without an event: https://marinlivingmagazine.com/community-calendar/2023-01-22/

    Thread Starter sandeld

    (@sandeld)

    Still waiting on this.

    Any idea why <meta name=’robots’ content=’index, follow> is being inserted on every event page, even when the day has no events?

    Plugin Support Darian

    (@d0153)

    Hi @sandeld

    This could be related to a 3rd party plugin. Have you tried activating only our plugins and use a default theme (e.g. WP 2020 theme) and check if that makes a difference? [see – Testing for conflicts??I suggest conducting these tests on a Staging Server.

    Moreover, you could also check this article for more details on SEO and Performace issues.

    Thread Starter sandeld

    (@sandeld)

    Here’s a link to a staging site with the default 2023 theme and ONLY The Events Calendar plugin activated.

    The code for an “empty” day looks almost identical to a day with a scheduled event.

    Scheduled event: https://wordpress-792386-3221612.cloudwaysapps.com/community-calendar/2023-02-04/

    Nothing day: https://wordpress-792386-3221612.cloudwaysapps.com/community-calendar/2023-03-01/

    Plugin Support Darian

    (@d0153)

    Hi @sandeld

    Thanks for your message.

    Let me share this with the team, and I’ll get back to you once I have new information.

    Thread Starter sandeld

    (@sandeld)

    Any idea how much longer it might take to get an answer from the team?

    Plugin Support Darian

    (@d0153)

    Hi @sandeld

    As of now, The Events Calendar does not add noindex tags on pages that have no events. However, we are already aware of this one and hopefully be addressed in our future release.

    In the meantime, let me check with the team if we could provide a workaround for this one.

    Thread Starter sandeld

    (@sandeld)

    As of now, The Events Calendar does not add noindex tags on pages that have no events. 

    Wait, what? That doesn’t make any sense. You’re contradicting your own code and own documentation with that statement.

    public function issue_noindex() {
     
        if ( ! $wp_query = tribe_get_global_query_object() ) {
            return;
        }
     
        if ( empty( $wp_query->tribe_is_event_query ) ) {
            return;
        }
     
        // By default, we add a noindex tag for all month view requests and any other
        // event views that are devoid of events
        $event_display = get_query_var( 'eventDisplay' );
        $add_noindex   = ( ! $wp_query->have_posts() || 'month' === $event_display );
     
        /**
         * Determines if a noindex meta tag will be set for the current event view.
         *
         * @var bool $add_noindex
         */
        $add_noindex = apply_filters( 'tribe_events_add_no_index_meta', $add_noindex );
     
        if ( $add_noindex ) {
            add_action( 'wp_head', array( $this, 'print_noindex_meta' ) );
        }
    }
    Plugin Support Darian

    (@d0153)

    Hi @sandeld

    Thanks for your response.

    Upon checking with the team, the ‘noindex’ should be added to the page that has no events. At this time, we have been able to reproduce the problem and have identified a potential fix. Our engineers are working on the solution, though there are some complexities, and it will take some time to craft and validate before release.

    I have added your case to our internal ticket. While we don’t have an ETA, you’ll get notified once there is an update and fix.

    Regards,
    Darian

    —-
    Internal Bug Ticket Reference: BTRIA-1665

    Hi @d0153 ,

    Did you find a resolution for this? I’m having the same issue with important future dates on my Event Calendar that are noindexed. Any help is much appreciated!

    Plugin Support Darian

    (@d0153)

    Hi @lucyrobinsonsrhs

    Upon checking, it appears that the issue with [BTRIA-1665] is still being worked on. We will provide an update in this thread once a fix has been released. Thank you for being so patient during this process.

    If you have any other concerns or issues that require assistance, please follow the support guidelines on www.remarpro.com and create a separate support topic.

    Thank you, @d0153 . It looks like this issue has persisted for at least three years now. Could you provide some kind of an ETA? It looks like the plugin may not have the functionality we need.

    Plugin Support Guga Alves

    (@gugaalves)

    Hi @lucyrobinsonsrhs,

    We’re aware that this is happening for a small set of websites with some specific configurations, and we already have an internal bug ticket to investigate that.

    The good news is that there’s a workaround. Please add the following PHP snippet into your theme’s functions.php file or using the Code Snippets plugin:

    function my_custom_tribe_events_no_index_meta() {
      if( is_single() && 'tribe_events' == get_post_type() ) {
        add_filter( 'tribe_events_add_no_index_meta', '__return_false' );}
    }
    
    add_action( 'wp', 'my_custom_tribe_events_no_index_meta' );

    @gugaalves holy cow that worked! thank you, this is great news.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Problem with noindex and Google Crawl error’ is closed to new replies.