• Resolved Erik Blair

    (@erik-blair)


    I found 1200 404s similar to this:?

    /gallery?/file-name-of-gallery-image?/feed?/

    I really don’t like that the plugin creates a “feed” link.
    Can I disable or correct this to eliminate 404s?

    And how do I get rid of those 404s?

    Thank you!

    – Erik

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Erik,

    Thank you for your notice.

    Please go to the plugin settings page, open “Custom code” tab, mark “Activate” checkbox in the “Editing bws-custom-code.php” section, and add the following code:

    function gllr_post_comments_feed_link( $url ) {
        global $gllr_options;
        if ( ! empty( $gllr_options['post_type_name'] ) ) {
            $url = str_replace( $gllr_options['post_type_name'] . '/', '', $url );
            return $url;
        }
        return $url;
    }
    add_filter( 'post_comments_feed_link', 'gllr_post_comments_feed_link' );

    Please let us know if everything is okay now.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter Erik Blair

    (@erik-blair)

    I did exactly what you said. I’ll keep an eye on this to see if that resolves the problem. Thank you very much for your help!

    – Erik

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Erik,

    Feel free to contact our support team with any questions in future. For more convenience, you can do it via our Help Center (https://support.bestwebsoft.com/) in order to receive a faster reply.

    Have a nice day!

    Sincerely,
    BestWebSoft Support Team

    Thread Starter Erik Blair

    (@erik-blair)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gallery Plugin 404 problem /feed?’ is closed to new replies.