Hi,
Thanks for your reply. However it's not the displaying of "events" my clients wants to limit to five years - they don't want infinite links to future years. They have employed an SEO company who have noticed that Google is just following the "Next" month link in the Event Calendar forever and gets stuck in an endless, infinite loop - therefore limiting the records via the recordset won't make any difference as the "next" month links would still show (regardless of whether there are any events to display).
What, I guess, I need to add is some code that looks at the querystring (i.e. events.asp?dwzMONTHmeetingcal=6&dwzYEARmeetingcal=2015) and if the month (dwzMONTHmeetingcal) and year (dwzYEARmeetingcal) is greater than 5 years into the future then don't show the "Next" month link. I can figure out the code to add I just need to know where to add it.
Regards, Adrian |
|
|