Use location for redirecting for WP (p)