This has been resolved here:
How to get URL of current page displayed?
$current_url = add_query_arg( $wp->query_vars, home_url( $wp->request ) );
This has been resolved here:
How to get URL of current page displayed?
$current_url = add_query_arg( $wp->query_vars, home_url( $wp->request ) );