Disable future links?
-
Is there a way to disable links after some date in the future? Robots are currently indexing through every month at year 2309 and counting….
Maybe I’ll just disable robots.txt for the whole calendar, but it seems like it would be nicer to just turn off the calendar X months in the future or something like that.The page I need help with: [log in to see the link]
-
Hi @jondaley ,
Thank you for reaching out.
This looks like something related to SEO, as such, kindly have a look at our SEO and Performance Issues knowledgebase article for insights.
No. It is related to performance. My server is getting swamped due to having all of these dynamic links getting hit over and over again by various crawlers, legitimate and illegitimate. I think you should have a setting in the software that disables the “next month” (and any other links) for a user configurable amount.
As far as I can see, the link you gave doesn’t mention anything like that.Having this same issue at https://kurnhattin.org/ very distressing. Please post a fix, let us know asap.
Until a fix/setting is added to the plugin, I just block all of the robots in my nginx config:
location /calendar { if ($http_user_agent ~* (amazon|google|spider|bot) ) { return 403; }Hi @jondaley
Thanks for your message.
You might also find this helpful. Check out the recommendations provided in this article for influencing crawlers and improving SEO:
Improving SEO with The Events CalendarLet me know if you need further assistance.
i think that is saying you already put noindex/follow in all links anyway? I’ll have to see if that is actually working.
that seems unlikely since Google is still crawling. I do think Amazon’s crawler is broken, since it didn’t even ever look at robots.txt – I have complained to their abuse department about that.
Hi @jondaley
Thanks for your response.
Feel free to let me know if you have other questions or concerns.
Hi there,
It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.
No, I just hadn’t gotten to check on whether your code actually does what your link says it does. I have a link “>” that points to the next month. There is no “noindex” or “nofollow” attributes included, as your linked article says there should be. Is there a setting to turn that on?
a href="https://intrepidfirearmsacademy.com/calendar/month/2024-12/"
class="tribe-common-c-btn-icon tribe-common-c-btn-icon--caret-right
tribe-events-c-top-bar__nav-link tribe-events-c-top-bar__nav-link--next"
aria-label="Next month" title="Next month"
data-js="tribe-events-view-link" rel="next"Same for the calendar day links:
a href="https://intrepidfirearmsacademy.com/calendar/2024-10-30/" class="tribe-events-calendar-month__day-date-link" data-js="tribe-events-view-link"No indexing the links does not solve the problem.
Hi @jondaley
Could you share the snippet you implemented? I noticed that the
robotsmeta tag still has the valueindex, follow(screenshot: https://share.zight.com/7KuweJgz).By default, the value should be
noindex, nofollow. There might be a conflict with one of your plugins or your theme. To troubleshoot, could you create a staging version of your site and try enabling only our plugins while using a default theme, such as “Twenty Twenty-One”? Then, check if therobotsmeta tag updates tonoindex, nofollow.If it’s showing the default value, please reactivate your plugins/theme one at a time and check which one is causing the issue.
Let me know how it goes.
Ah – I wasn’t looking for a meta tag, I was thinking it was going to be on each <a href> link.
So, your plugin allows indexing of the main calendar page, but then puts a nofollow on the main page and noindex on all the rest of the calendar pages?
I assume there is a yoast or some plugin that is the problem one.I disabled the yoast plugin, and saw the <meta> not get written at all…
But, if I click the “disable events” search engine links in yoast, it appears to do the right thing, or at least mostly – the <meta> tag is changed to noindex, follow, and then there is javascript to modifiy the <meta> tag, and there are rel attributes on the <a> tags.
So, kind of overkill, in terms of having to disable all events from being indexed, but if the events calendar doesn’t support disabling future events on its own, at least yoast can disable everything for it.Hi @jondaley
So, your plugin allows indexing of the main calendar page, but then puts a nofollow on the main page and noindex on all the rest of the calendar pages?
Our plugin only adds noindex, nofollow or follow on the main calendar page, and it does not inject a noindex, nofollow, or follow meta tag on single event pages.
We add noindex, nofollow to the following views: Month, week, and other similar grid views.
This tells the search engine crawler to avoid indexing the page and to avoid following links on the page.We add noindex, follow to the following views: Day, list, map, photo, summary, and other similar list-style views.
This tells the search engine crawler to avoid indexing the page, but it can follow links on the page that are not set to nofollow.I hope this helps.
The topic ‘Disable future links?’ is closed to new replies.