301 Redirect PHP or Permanent Redirect PHP


/ Published in: PHP



Copy this code and paste it in your HTML
  1. <?php
  2. Header( "HTTP/1.1 301 Moved Permanently" );
  3. Header( "Location: http://your_full_url.here" );
  4. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.