Orang sukses akan mengambil keuntungan dari kesalahan dan mencoba lagi dengan cara yang berbeda. - Dale Carnegie

What's New?

How To Redirect Easily With PHP Script

Simple URL Redirecting With PHP Script

This is simple way to redirecting one page to another with this a bite code. Support of all browser and users do quickly and seamlessly. When users call back button, users will load the last page, not redirecting page. Let's see below:

  1. <?php 
  2. header( 'Location:' ) ;
  3. ?>


As you know a PHP script starts with <php and ends with ?>. Remove all contents and paste the codes above. Don't forget name it as PHP extension. When we want to redirect main page, so we create a file namely index.php. Change new page with your URL you want to redirect.