1. You can use the header() function to send a new HTTP header, but this must be sent to the browser before any HTML or text (so before the <!DOCTYPE ...> declaration, for example):
2. Alternatively, you may use method of http_redirect($url); which needs the PECL package pecl to be installed...