Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have disabled comments in my wordpress site. So comments/feed url is giving 404 error. So how should I resolve these errors? doaminname/feed works fine. But domainname/comments/feed is giving error. So I want to fix that error.

share|improve this question
1  
You disabled comments and your feeds broke? I thought at first it was only your comments feed that didn't work but then you wrote "Other page name/feed is also giving 404 error" which implies that all of your feeds are broken. Can you clarify? –  s_ha_dum Nov 6 '12 at 20:56
    
s_ha_dum I modified my question. I dont want solution for that other page. As It is already removed from the system. So it is giving 404 error. –  Dena Nov 6 '12 at 23:40
    
I am having a very hard time breaking my feeds. I have been messing with comment settings and deleting comments for long enough to start wondering what you did. What did you do? –  s_ha_dum Nov 7 '12 at 0:26

1 Answer 1

up vote 0 down vote accepted

I added remove_action( 'wp_head', 'feed_links', 2 ); in functions.php file. and

added in the header.php.

This fulfilled my purpose.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.