Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   [SOLVED] Removing RSS links from page source (http://forum.bytesforall.com/showthread.php?t=4268)

yo-less Nov 8, 2009 06:13 AM

[SOLVED] Removing RSS links from page source
 
Hello everyone. First of all thanks for all the effort that went into creating the Atahualpa theme. It's simply amazing, I have been trying to get to work several CMSs and only with Wordpress and this theme I've finally found a way to do things I want to do.

I do, however, have a slight problem with disabling the RSS feeds that get announced to the browser as I am trying to set up a static page. I have been able to remove some of the feeds by deleting lines from header.php, however, there is still this line:

<link rel="alternate" type="application/rss+xml" title="... Comments Feed" href="..." />

that comes after:

<meta name='robots' content='noindex,nofollow' />

that I just can't get rid off.

Any ideas would be appreciated =).

juggledad Nov 8, 2009 09:07 AM

in version 3.4.4 edit header.php adn remove line 15
Code:

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

yo-less Nov 8, 2009 09:53 AM

Thanks for your quick reply!

I have removed the following lines

PHP Code:

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

However, I still get the one line trying to provide an rss-feed link. Strange.

juggledad Nov 8, 2009 10:12 AM

what's the url?

yo-less Nov 8, 2009 10:56 AM

I've sent it via PM

juggledad Nov 8, 2009 02:21 PM

Do you have any plugins? Try deactivating them all. It could be coming from one of them.

I don't see it generated in my test site.

yo-less Nov 8, 2009 04:55 PM

Thank you so much for your help. Inspired by your last post I completely reinstalled Wordpress and now it's working - Maybe some weird setting was cached somewhere? I'm really at a loss what the problem was. Thanks for your time, though, it really helped, if indirectly ^^.


All times are GMT -6. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.