Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

What is the best way to Remove RSS?


Go to End


2 Posts   2778 Views

Avatar
juneallison

Community Member, 110 Posts

13 October 2012 at 4:26am

We would like to remove RSS from our site. Of course people that have previously visited the site may already have the RSS url in their reader.

What would be the best way to disable this link or post a message that asks users to visit the blog instead. I'm having a hard time finding the correct place to do this in the code.

Thank you!

June

Avatar
Van

Administrator, 25 Posts

24 October 2012 at 1:35pm

Hi,

To disable the link, make the IncludeBlogRSS function return null in BlogTree (blog/code/BlogTree.php). To remove the feed, or change its contents to have a link to the blog itself, remove or edit the RSS function in the same class.

Hope that helps.