Fixed redirecting to http:// without any URL appended