Posted By

jacksaidwhat on 07/11/11


Tagged

php redirect 301


Versions (?)

PHP 301 Redirect


 / Published in: PHP
 

  1. <?php
  2. header("HTTP/1.1 301 Moved Permanently");
  3. header( "Status: 301 Moved Permanently" );
  4. header("Location: http://www.newdomain.com/page.html");
  5. exit();
  6. ?>

Report this snippet  

You need to login to post a comment.