• Hello, we are an IT company.
    We report here a bug on our website above: our WC products aren’t fetched automatically from Redirections plugin in its URL monitor list.
    Pls see the image here:
    https://pasteboard.co/HbtEl0xtVevc.jpg
    We reported this severe bug on your github last week but nobody addressed or answered.
    We hope you can have more visibility on this here.

    Thanks
    kind regards

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Cloudflare Power Tools

    (@schifo)

    Hello guys, any news on that?

    jj

    (@jjjoel)

    Related GitHub issue here https://github.com/johngodley/redirection/issues/3978.

    A temporary workaround is to add this to your functions.php:

    add_filter( 'redirection_post_types', function( $post_types ) {
    if ( !empty( $post_types['product'] ) ) {
    return $post_types;
    }

    // Note the misspelling of the label is on purpose as the plugin expects the post type *slug* when red_get_post_types( false ) is called here https://github.com/johngodley/redirection/blob/e89774a3747b39f660f0e75283f8c3ec581d5d3e/redirection-settings.php#L127
    $post_types['product'] = 'product';
    return $post_types;
    });
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.