PHP: 301 Redirect

In PHP you can use header function and create 301 redirect. Here is a sample snippet. Update: header('Location:', true, 301); The code below is an older version of this post. header("HTTP/1.1 301 Moved Permanently"); header("Location: []("); This will redirect the PHP page you have added this into, you can change to any … Continue reading PHP: 301 Redirect