Support » Plugins and Hacks » Too many redirects

Too many redirects

  • I use CF7 and the plugin Newsletter pro. I want to use this 3.party plugin to subscribe user to newsletter when a CF7 form is submitted.

    It seems to work, but it try to subscribe 6 times, then it stops with toe error “Too many redirects”.

    Can I stop this from Looping?

    RESPONSE ** RAW **
    [safe_message] => error object
    [object] => WP_Error Object
    [errors] => Array
    [http_request_failed] => Array
    [0] => Too many redirects.


Viewing 1 replies (of 1 total)
  • Plugin Author zaus


    As far as I know, it has to do with the URL you’re posting too — it’s trying to redirect you multiple times, not the plugin. The plugin is reporting that the endpoint attempted too many redirects.

    Example –> you tell the plugin you want to post to “A”. “A” performs its post validation, and then tries to redirect you to a thank-you page “B”. That would be 1 redirect (I think).

    However, some forms can bounce through several redirects, if they have some form of URL-rewriting or SEO redirection set up on the server, which may be the case for you.

    You might have some luck increasing the default WP redirection limit — read more at http://codex.wordpress.org/HTTP_API#Other_Arguments, specifically the filter for http_request_redirection_count.

Viewing 1 replies (of 1 total)
  • The topic ‘Too many redirects’ is closed to new replies.