WordPress.org

Ready to get started?Download WordPress

Forums

moving blog error (1 post)

  1. nazzman
    Member
    Posted 5 years ago #

    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");

Topic Closed

This topic has been closed to new replies.

About this Topic