I am using wp_redirect() to redirect to a URL but it gives me the warning below and does not redirect. When should I use wp_redirect()? And does any one know how wp_redirect() works?

**[Fri Feb 28 03:58:36 2014] [error] [client] PHP Warning:
Cannot modify header information - headers already sent by (output
started at /home/virgo/public_html/others/sites/wepay/wp-content/
themes/twentythirteen/header.php:43) in /home/virgo/public_html/o
thers/sites/wepay/wp-includes/pluggable.php on line 875, referer:**

Read more here: I need to know when should i use wp_redirect()?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: