How do I set the events-calendar page and all the single events to nofollow?

Home Forums Calendar Products Events Calendar PRO How do I set the events-calendar page and all the single events to nofollow?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1285412
    TanumStrand
    Participant

    Hi! So, I have a site with an old custom made calendar. Since we don’t have a staging evnvironment for the client to test the Pro-version on, we thought about implementing it on their production site instead. We did some configuration in our functions.php to redirect not logged in users to our old calendar page whenever they visit a tribe-page.

    //redirect url if user is not logged in
    function redirect_to_specific_page() {
    	if ( tribe_is_event_query () && ! is_user_logged_in() ) {
    		wp_redirect( 'http://sajt.se/slug/', 301 ); 
    	  	exit;
    	}
    }
    add_action( 'template_redirect', 'redirect_to_specific_page' );

    My question though is, how do I make sure that the new calendar page + its’ various views and single pages isn’t indexed by google until the client wants it all to go live, for real?

    I have read in some places that The Events Cal Pro automatically sets the calendar page and the single pages to nofollow in a meta tag, but inspecting the source code shows nothing like that in my development environment.

    Is there an easy way to turn on/off noindex/nofollow on all tribe-pages? And what is the recommended way to adjust these things in produktion (when the client wants to show off their new and shiny cal), to make sure the calendar doesn’t bring bad SEO to the site?

    Thank you in advance!

    #1286582
    Shelby
    Participant

    Hi there,

    I’m happy to help out with this today! 🙂

    I’d suggest just using Yoast SEO Plugin and their functionality for this (documented here). It will be the simplest solution to implement and reverse. 🙂

    Let me know if you have follow up questions!

    Best,

    Shelby 🙂

    #1296223
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How do I set the events-calendar page and all the single events to nofollow?’ is closed to new replies.