Viewing 5 replies - 1 through 5 (of 5 total)
  • Have the same problem.

    When setting Permalinks to “Standard” i.e. https://domain/?p=xxx all is fine

    Using other settings causes 404

    Same here, I’m on it but I didn’t found any solution yet.

    i found a solution by mixing code put it in your functions.php or plugin :


    /**
    Réactiver le flux RSS principal
    * Created by Daniel Roch
    * Modified by Laurent Olivares for Polylang
    */
    function neameta_feed_link( $args = array() ) {
    $defaults = array(
    /* translators: Separator between blog name and feed type in feed links */
    'separator' => _x('?', 'feed link'),
    /* translators: 1: blog title, 2: separator (raquo) */
    'feedtitle' => __('%1$s %2$s Feed'),
    /* translators: %s: blog title, 2: separator (raquo) */
    'comstitle' => __('%1$s %2$s Comments Feed'),
    );
    $args = wp_parse_args( $args, $defaults );
    echo '<link rel="alternate" type="application/rss+xml" title="' . esc_attr(sprintf( $args['feedtitle'], get_bloginfo('name'), $args['separator'] )) . '" href="' . home_url() . "/" . pll_current_language() . "/feed/\" />\n";
    }
    add_action('wp_head', 'neameta_feed_link');

    -one option to fix the problem-

    I don’t know if it would help but just in case.

    1. for https://www.example.com/en/feed/ to get it to display content

    in my case, I got same problem above because I have woocommerce and polylang plugin activated and Products option set to translate in Polylang -> Setting -> in

    “Activate languages and translations for custom post types”. in Custom post types section

    #Another word,

    If you have Woocommerce and in Polylang -> Settings -> Custom post types

    Products – check box is currently checking.

    Unchecked it and see if this fix the problem for you.

    —————————–

    2. to convert from https://www.example.com/en/feed/ to https://www.example.com/feed/

    you can do that by set both following sections

    2.1 set English (en) , to be your default language in Polylang -> Settings -> Default language -> select English

    2.2 in the same Settings -> URL modifications -> Hide URL language information for default language and checked this box.
    This one will remove your -en-
    from https://www.example.com/en/feed/ to https://www.example.com/feed/

    because now -en- is your default language. You can apply the same thing to any other default languages.

    Hope this help.

    Ok, had the same problem here. Default https://www.petitplat.fr/en/feed/ showed no posts. Individual posts in the feed I saw the comments.
    Disabled language plugins and feed was working. Enabled not.

    Tried the code by Laurent above: did not work for me.

    Option by Jenesys, setting the default language to hide /en/ in the URL at first did not work either, but now did have the feed using the full URL to the blog page directly: https://www.petitplat.fr/blog/feed/.

    Which I hope is fine, but definitely took a while to figure this out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New RSS URL after switching to Polylang – not recognizable by Bloglovin?’ is closed to new replies.