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,167
Replies
57
Views
18,224
Replies
2
Views
2,568
Newer Threads
Replies
8
Views
3,071
Replies
0
Views
1,813
Replies
0
Views
2,239
Replies
0
Views
2,295
Latest Threads
Recommended Threads

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