Fast Redirect

jdunhin

New member
Joined
Feb 27, 2013
Messages
93
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

New member
Joined
Jul 5, 2012
Messages
229
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,630
Replies
1
Views
2,485
Replies
5
Views
2,710
Replies
3
Views
2,566
Newer threads
Replies
8
Views
4,084
Replies
0
Views
2,205
Replies
0
Views
2,514
Replies
0
Views
2,776
Replies
6
Views
4,978
Latest threads
Replies
0
Views
216
Replies
3
Views
360
Replies
3
Views
334
Replies
3
Views
68
Replies
3
Views
248
Recommended threads
Replies
1
Views
3,335
Replies
7
Views
4,187
Replies
4
Views
4,152

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

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