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,124
Replies
57
Views
17,854
Replies
2
Views
2,519
Newer Threads
Replies
8
Views
3,000
Replies
0
Views
1,770
Replies
0
Views
2,205
Replies
0
Views
2,255
Recommended Threads
Replies
1
Views
3,342
Replies
8
Views
2,876
Replies
10
Views
2,219

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