Support » Plugin: WP Cloudflare GeoIP Redirect » Redirection Not Ocurring

  • Resolved gammafx

    (@gammafx)


    In some use cases redirection is not occurring because there is no exit after header call. Please adjust cf-redirect.php around line 74 as follows:

    header( 'Location: ' . esc_url_raw($s['url']), true, sanitize_text_field($s['type']) );
    exit;

    On a separate note, please consider using wp_redirect instead of header.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirection Not Ocurring’ is closed to new replies.