Title: NGINX FastCGI Cache 301 issues
Last modified: November 11, 2022

---

# NGINX FastCGI Cache 301 issues

 *  Resolved [shapeschicken](https://wordpress.org/support/users/shapeschicken/)
 * (@shapeschicken)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/)
 * Hello,
 * We have Nginx FastCGI Cache enabled, running php 8.
 * This works great, sites super fast but when we have this plugin turned on, every
   now and again the site goes down for a few hours with a 301 redirect loop.
 * We nailed down the issue to this plugin.
 * Do you know what may be causing this? It is an intermittent issue, but when it
   happens, the site goes down for hours, then will work for hours etc.

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16188438)
 * How did you nail the issue down to this plugin? This doesn’t sound like something
   it would do.
 * Redirection only does what you tell it to do, so if you’ve created a redirect
   loop it will create a loop. As such, you should look through your redirects.
 *  [landlordstudio](https://wordpress.org/support/users/landlordstudio/)
 * (@landlordstudio)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16190891)
 * .
    -  This reply was modified 3 years, 6 months ago by [landlordstudio](https://wordpress.org/support/users/landlordstudio/).
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16191215)
 * Sure, Redirection does redirects so it’s likely to be doing this redirect. What
   I mean is, how did you nail it down to Nginx fastcgi cache?
 * As I mentioned above, if you’ve created a redirect loop then it will do as you
   tell it. You should look at your redirects and see if any could be causing a 
   loop. This will probably be a regular expression.
 *  Thread Starter [shapeschicken](https://wordpress.org/support/users/shapeschicken/)
 * (@shapeschicken)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16191619)
 * We had FastCGI Cache enabled for some time and then we started getting 301 redirect
   loops.
 * To fix it, we troubleshooted and turned off the cache and the redirect loop was
   gone.
 * We then disabled plugins that we thought could cause this issue, and begun enabling
   them one by one.
 * Turning on the redirect plugin would cause this error.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16191625)
 * Ok, have you looked at your redirects to see if any are causing a loop? As described
   above, it will only do what you tell it to do. If you’ve created a loop then 
   it will perform that loop.
 * I don’t know how your cache is involved but it’s worth running a looped redirect
   through [https://redirect.li/http/](https://redirect.li/http/) to see what is
   happening.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16191626)
 * Based on the intermittent nature of the problem is seems something more caused
   by your cache?
 *  Thread Starter [shapeschicken](https://wordpress.org/support/users/shapeschicken/)
 * (@shapeschicken)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16193042)
 * Yup, but the issue only exists when this plugin is activated.
 * And seeing how its a redirect loop, i suspect something isnt playing nicely. 
   Regardless to resolve it, we will just move the redirects into nginx
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16193051)
 * Sure, because the plugin is causing a redirect. The same could be said with the
   cache enabled. However, this is not normal behaviour and there are no other reports
   of a similar problem. I’m pretty sure more than one site is using caching in 
   this way.
 * Have you actually looked at your redirects to see if there is a loop? I’ve asked
   a couple of times and I’m not sure if you’ve looked. This seems the most likely
   cause.
 * Have you checked a loop with [https://redirect.li/](https://redirect.li/) to 
   see what details it shows?

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

The topic ‘NGINX FastCGI Cache 301 issues’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/nginx-fastcgi-cache-301-issues/#post-16193051)
 * Status: resolved