• Resolved moodytryme

    (@moodytryme)


    Hi !

    My website is here
    and I can’t get my rss feeds to work.
    I tried to subscribe my site on dlvr which shows automatically the last posts on social network, but It couldn’t work, that’s how I realized my RSS wasn’t working.

    For example when I reach http://ricochet-livres-jeunesse.fr/?feed=rss2
    I read “Page not found”

    I tried adding this code to my <head></head> section but nothing :

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

    I also tried desactivating all my plugins one by one, but nothing changed…

Viewing 1 replies (of 1 total)
  • Thread Starter moodytryme

    (@moodytryme)

    Solved : the pages I wanted to be shown on the RSS were not articles, and thus WordPress won’t show them on RSS.
    So, I was told to put a function to add your Custom Post types :

    function myfeed_request($qv) {
        if (isset($qv['feed']) && !isset($qv['post_type']))
            $qv['post_type'] = array_merge( array('post' => 'post'), get_post_types( array('show_ui' => true, '_builtin' => false) ) );
         return $qv;
    }
    add_filter('request', 'myfeed_request');

    You can read more on this address (in French though) : HERE

Viewing 1 replies (of 1 total)
  • The topic ‘RSS Page Not Found’ is closed to new replies.