WordPress.org

Ready to get started?Download WordPress

Forums

Contact-Form-7: 3rd-Party Integration
Too many redirects (2 posts)

  1. villy.skov@gmail.com
    Member
    Posted 1 year ago #

    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 **
    Array
    (
    [safe_message] => error object
    [object] => WP_Error Object
    (
    [errors] => Array
    (
    [http_request_failed] => Array
    (
    [0] => Too many redirects.

    http://wordpress.org/extend/plugins/contact-form-7-3rd-party-integration/

  2. zaus
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.