Fast Redirect

jdunhin

Active member
Registered
Joined
Feb 27, 2013
Messages
72
Points
0
This code below shows how to redirect to another domain. It is easier to do it this way. The reason why is domains take time to populate the changes on it so when you use this code it works in no time.

<?php
header( 'Location: http://www.domain.com' ) ;
?>
 

webdesign

Well-known member
Joined
Jul 5, 2012
Messages
120
Points
0
This code is very useful to redirect a URL in PHP. I used to use this code and htaccess to redirect pages, urls..it's very efficient.
 
Older Threads
Replies
1
Views
2,429
Replies
57
Views
20,961
Replies
2
Views
2,903
Newer Threads
Replies
8
Views
3,673
Replies
0
Views
2,054
Replies
0
Views
2,491
Replies
0
Views
2,646

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top