WordPress.org

Forums

[resolved] RSS Feed 404 (4 posts)

  1. christopherburton
    Member
    Posted 2 years ago #

    I am getting an error in the "Incoming Links" section on the Dashboard. It seems when I try to visit http://mydomain.com/feed I get the following error:

    Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.

    I've tried setting my permalinks back to default and changing the URL in Incoming Links (Configure) to no luck.

    Could this be a problem with only having Custom Post Types for my site (no comments or blog posts)?

    This URL links to my feed: http://mydomain.com/feed/?post_type%5B0%5D=lettering&post_type%5B1%5D=type

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Could this be a problem with only having Custom Post Types for my site (no comments or blog posts)?

    Could be, Pages are not RSS feeds - Posts are (the Blog)...a plugin may be the issue...

  3. christopherburton
    Member
    Posted 2 years ago #

    I deactivated all plugins to test but nothing changed.

    I solved it by adding this to my functions.php file:

    function myfeed_request($qv) {
        if (isset($qv['feed']) && !isset($qv['post_type']))
            $qv['post_type'] = array('post', 'lettering', 'type');
        return $qv;
    }
    add_filter('request', 'myfeed_request');
  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Please provide a site link for verification.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags