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; ?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With