Redirect Using index.php

Redirect using php code

Create index.php code and put this code inside

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: https://www.newurl.com" );
?>

 

Replace new url with your new URL

  • redirect
  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

Redirect Using index.html

Redirect using html code Create index.html code and put this code inside...