I am experimenting with the PHP redirect http://www.phpjunkyard.com/tutorials/php-redirect.php.
Specifically the 301 redirect to create a self correcting URL to help with typos - there's a unique ID in the URL as well that needs to be correct for it to work.
Can I still allow for analytics tracking parameters e.g. tracking=yes
?
Currently the rewrite strips this out.
header()
function has a 3rd argument where you can specify the HTTP status code (ie. 301). See the PHP Docs: php.net/manual/en/function.header.php