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,234
Replies
57
Views
18,752
Replies
2
Views
2,648
Newer Threads
Replies
8
Views
3,209
Replies
0
Views
1,877
Replies
0
Views
2,308
Replies
0
Views
2,442
Latest Threads
Replies
0
Views
49
Replies
1
Views
28
Replies
0
Views
110
Replies
2
Views
130

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