Posted By

serialk89 on 05/07/11


Tagged


Versions (?)

REDIRECCION POR $_SERVER['']


 / Published in: PHP
 

Redireccion sólo de paginas interiores a nueva pagina de wordpress.

  1. <?php
  2. // Redireccion
  3. $change = "http://www.revistacarrusel.cl";
  4. $request_uri = $_SERVER['REQUEST_URI'];
  5.  
  6. if(!is_home()){
  7. header("location:$change.$request_uri");
  8. }
  9.  
  10. ?>

Report this snippet  

You need to login to post a comment.