Set content="noindex,follow" via a robots.txt file

Home Forums Calendar Products Events Calendar PRO Set content="noindex,follow" via a robots.txt file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1411004
    Keith O Reilly
    Participant

    On some pages I have noticed the robots set to no follow. I am assuming this is to prevent indexing going on and on all pages, but I am wondering where this setting is?

    I have tried to find it in both the events calendar and also in yoast (see text below), but I cant seem to find it.

    Is there a way to do this via a robots.txt file which my SEO guy would prefer?
    http://www.gaytravel4u.com/featured-events/list/?tribe_event_display=list&tribe_paged=8

    #1411405
    Crisoforo
    Keymaster

    Hey Keith!

    We don’t have a specifc option to disable this directly from the admin panel but you can overwrite this behavior by adding a small snippet of code into a file called functions.php in your active theme that prevent this behavior.


    add_filter( 'tribe_events_add_no_index_meta', '__return_false' );

    Just a heads up this setting might be useful as it is as will prevent to index pages like this:

    As the main page:

    Is going to be indexed and prevent any pagination pages to be indexed but if you prefer to have this behavior with placing the snippet of code into your functions.php file you should be all set.

    Best and happy holidays.
    Crisoforo

     

    #1424802
    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 ‘Set content="noindex,follow" via a robots.txt file’ is closed to new replies.