Posted By

wza on 06/10/09


Tagged

php header location redirect textmate 301 moved permanently


Versions (?)

header moved permanently


 / Published in: PHP
 

  1. <?php
  2. header("Status: 301"); # 301 Moved Permanently
  3. header("Location: http://{$_SERVER['SERVER_NAME']}/blog");
  4. ?>

Report this snippet  

You need to login to post a comment.