christopherburton
Member
Posted 7 months 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
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...
christopherburton
Member
Posted 7 months 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');
Please provide a site link for verification.