I use 3 different calendars on my forum. Two of them are not visible to public.
How can I exclude the urls of these private calendars from the sitemap generator?![]()
This is a discussion on Exclude private calendars from sitemap (add-on: vbseo_sm_calendar.php) within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I use 3 different calendars on my forum. Two of them are not visible to public. How can I exclude ...
I use 3 different calendars on my forum. Two of them are not visible to public.
How can I exclude the urls of these private calendars from the sitemap generator?![]()
I don't believe any calendar urls are added to the sitemap.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Well,
they are added, because I use the calendar sitemap add-on (/vbseo_sitemap/addons/vbseo-sm_calendar.php).
I added the generated sitemap file as attachment.
This file contains 255 urls, but only a part of them are accessible by guests (and bots).
You can try changing the main query to only include the ones you wish.
toCode:$ev_list = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "event WHERE visible = 1");
to include only the main calendar.Code:$ev_list = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "event WHERE visible = 1 and calendarid = 1");
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
This solved the problem (with calendarid = 2).
Thank you very much.![]()