• I am moving a WP blog from GoDad to Host Gator. The DB and files are in place and the nameserver change has been done. Everything worked fine on GoDad.

    I am getting the error:

    (pluggable.php line 770 — last line in this post):

    header(“Location: $location”);

    here is the larger context, dunno if I started in the right place:

    function wp_redirect($location, $status = 302) {
    global $is_IIS;

    $location = apply_filters(‘wp_redirect’, $location, $status);
    $status = apply_filters(‘wp_redirect_status’, $status, $location);

    if ( !$location ) // allows the wp_redirect filter to cancel a redirect
    return false;

    $location = wp_sanitize_redirect($location);

    if ( $is_IIS ) {
    header(“Refresh: 0;url=$location”);
    } else {
    if ( php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups
    header(“Location: $location”);

  • The topic ‘moving blog error’ is closed to new replies.