Title: Gallery Plugin 404 problem /feed?
Last modified: December 5, 2016

---

# Gallery Plugin 404 problem /feed?

 *  Resolved [Erik Blair](https://wordpress.org/support/users/erik-blair/)
 * (@erik-blair)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/)
 * 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](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/#post-8525020)
 * 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](https://wordpress.org/support/users/erik-blair/)
 * (@erik-blair)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/#post-8526237)
 * 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](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/#post-8529880)
 * 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 ([http://support.bestwebsoft.com/](http://support.bestwebsoft.com/))
   in order to receive a faster reply.
 * Have a nice day!
 * Sincerely,
    BestWebSoft Support Team
 *  Thread Starter [Erik Blair](https://wordpress.org/support/users/erik-blair/)
 * (@erik-blair)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/#post-8531552)
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Gallery Plugin 404 problem /feed?’ is closed to new replies.

 * ![](https://ps.w.org/gallery-plugin/assets/icon-256x256.gif?rev=2580845)
 * [Gallery by BestWebSoft - Customizable Image and Photo Galleries for WordPress](https://wordpress.org/plugins/gallery-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-plugin/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Erik Blair](https://wordpress.org/support/users/erik-blair/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/gallery-plugin-404-problem-feed/#post-8531552)
 * Status: resolved