Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Remove RSS
I maintain a Vanilla 2 forum and I recently found out the RSS feed was using something like 20% of my hosting resources. It is actually putting us way over our usage where we might incur fees. I'm looking for a way to disable or remove the RSS feed. I searched around on here and github, but I didn't see any threads about this.
I found the following in class.discussionscontroller.php, but there are references in other controller files as well.
Can I add something like
I found the following in class.discussionscontroller.php, but there are references in other controller files as well.
$this->Title(T('All Discussions'));
if ($this->Head)
$this->Head->AddRss(Url('/discussions/feed.rss', TRUE), $this->Head->Title());
Can I add something like
$Configuration['Vanilla']['AddRSS']['Use'] = FALSE;
to my config.php to remove the feed from all views?
Tagged:
0
Comments
exit();
on line 428 of library/core/class.dispatcher.php:switch ($Request->OutputFormat()) { case 'rss': exit(); $this->_SyndicationMethod = SYNDICATION_RSS; break;
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]