I have an RSS feed link (the little orange square) and I want to remove it.

Here's my page http://www.minutebyminute.org

How do I remove it?

Comments

DrupalBone’s picture

go into your server directory and go into your drupal folder. Then go into the "misc" folder and delete the feed.png file. This is currently the only way to disable a feed that I know of.

mrmyth’s picture

That was easy.

keown100’s picture

Actually, this method will probably end up generating 'File Not Found" errors in your site log file. I would recommend editing your page.tpl.php file and removing the line that reads:

<?php print $feed_icons; ?>

Neither of these methods will disable the RSS feed from your site. They just remove the icon from your pages.

DrupalBone’s picture

as it won't even produce any reference to the link in the source of the page it presents. So Drupal isn't sweating it, and it is a bit quicker.

Of course, the reason Drupal might not care is that it still presents the rss feed in the domain bar (at least it does on firefox, probably the others too).

keown100’s picture

and it is a bit quicker.

Please, do elaborate.

DrupalBone’s picture

and delete or move this file than it is to open the template, find the feed display php, delete it, and then save the file. The other thing is that you'll have to do that modification by hand again if you upgrade your theme to a new version of any theme.

Ultimately, we should have the ability to turn the feed off from the administration menu though, and I'm sure we could both agree on that.

But, I'm definitely not telling you to stop using something that works for you and could work for others, I just wanted to present my case as well.

mrmyth’s picture

This is very interesting. Perhaps I'll do both.

Quint’s picture

in htaccess couldn't you redirect the rss path to a "no feeds" page, or the homepage, or whatever, too

Madness’s picture

i thought this method was pretty nice and easy. not knocking the other method(s) though. Only prob would be having to do this for every theme.

batigolix’s picture