help me redirect site....

Started on the old forum in February 2013 · view the original in the archive · old links redirect here

3 replies · 752 views · started 13 years ago · 1 min read

3 participants
gsd2149 Junior · 21 posts #1

hello fro tell me how redirect one site to any other site.......

mean what me fill in index.PHP open my sec site......

metulj Super moderator Principal · 1,726 posts #2

gsd2149 wrote: hello fro tell me how redirect one site to any other site.......

mean what me fill in index.PHP open my sec site......

......
......
<meta http-equiv="refresh" content="5; URL=http://your.redirection.url.here">
<!-- NOTE: 5 means five seconds -->
.....
.....
<?php
//you php code here...
?>

or

<?php
//some code
header( "refresh:5;url=your.rediraction.url.here" );
//NOTE: 5 means five seconds
?>

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

kevk3v Senior · 332 posts #3

Or to redirect instantly

<?php
header("Location: http://site.tld");
exit;
?>

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close