1// If header throws an error - use this as temp solution.
2<?php
3echo '<script type="text/javascript">
4location.replace("https://your_replaced_url_location_goes_here.com/"); </script>';
5?>
6
1header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP