Title: Loop detection
Last modified: May 6, 2020

---

# Loop detection

 *  Resolved [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [6 years ago](https://wordpress.org/support/topic/loop-detection/)
 * Hello,
 * We’ve added the loop detection code as mentioned here:
 * [https://github.com/10up/safe-redirect-manager#redirect-loops](https://github.com/10up/safe-redirect-manager#redirect-loops)
 * What kind of loops should this detect/prevent?
 * For example, the situation below still gives an error:
 * Redirect from /page-1/ to [http://website.com/page-2/](http://website.com/page-2/)
   and
    redirect from /page-2/ to [http://website.com/page-1/](http://website.com/page-1/)
 * (when there are many redirects, this might happen)
 * Hope to hear from you, thanks in advance!
    -Kevin

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

 *  [Tung Du](https://wordpress.org/support/users/dinhtungdu/)
 * (@dinhtungdu)
 * [6 years ago](https://wordpress.org/support/topic/loop-detection/#post-12793716)
 * GitHub issue for this topic (thank [@kevinbrands](https://wordpress.org/support/users/kevinbrands/)
   for creating it): [https://github.com/10up/safe-redirect-manager/issues/206](https://github.com/10up/safe-redirect-manager/issues/206)
 *  [Tung Du](https://wordpress.org/support/users/dinhtungdu/)
 * (@dinhtungdu)
 * [6 years ago](https://wordpress.org/support/topic/loop-detection/#post-12794154)
 * This question has been answered here: [https://github.com/10up/safe-redirect-manager/issues/206#issuecomment-625007136](https://github.com/10up/safe-redirect-manager/issues/206#issuecomment-625007136)
 *  Thread Starter [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [6 years ago](https://wordpress.org/support/topic/loop-detection/#post-12794957)
 * Many thanks, it works now!

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

The topic ‘Loop detection’ is closed to new replies.

 * ![](https://ps.w.org/safe-redirect-manager/assets/icon.svg?rev=2791413)
 * [Safe Redirect Manager](https://wordpress.org/plugins/safe-redirect-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/safe-redirect-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/safe-redirect-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/safe-redirect-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/safe-redirect-manager/reviews/)

## Tags

 * [redirect loop error](https://wordpress.org/support/topic-tag/redirect-loop-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/loop-detection/#post-12794957)
 * Status: resolved