But somehow I am not properly getting redirected. What I am getting is a blank page instead of the page I am trying to redirect to.
Any ideas why this could be happening? Do I need to do a configuration setting for this redirect to function properly or is there something wrong with the way I am trying to redirect.
Sounds like you didn't set the proper status code?
To be more precise, you need to set reponse status to "301 Moved Permanently" or HTTP_MOVED_PERMANENTLY.
Why not just: "302 Redirect"!?