atm I'm using the following four lines to redirect the user to another page on my website:
<?php
header("Status: 301 Moved Permanently");
header("Location: ./content/index.html");
exit;
?>
but there is a problem with the use of HTTP query string variables like http://< url >?param=blah
they don't get appended to url understandably.
Is there a smart move for implementing this?
greetings
<?php
header("Status: 301 Moved Permanently");
header("Location:./content/index.html?". $_SERVER['QUERY_STRING']);
exit;
?>