It should be easy ...
Do I need to explicitly tell PHP that I want to do a 301 redirect? Like this...
<?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.example.com/"); ?>
I usually leave the first statement and just do ...
<?php header("Location: http://www.example.com/"); ?>
Could this second example be a 302 redirect?
source share