To make a HTTP redirect in PHP you can use the following snippet.

Sample PHP

<?php header('Location: http://redirectmeto.url'); ?>

One thought on “How to make a HTTP redirect in PHP”

Leave a Reply