how do i create a redirect

Status
Not open for further replies.

DeadBattery

Community Support Team
Community Support
Messages
4,018
Reaction score
120
Points
0
Here you go:
HTML Redirect Source Code

<HTML>
<HEAD>

<META HTTP-EQUIV="refresh" CONTENT="seconds;URL=the-other-url">

</HEAD>
<BODY>

</BODY>
</HTML>

seconds : the number of seconds the page is displayed, before performing the redirection.

the-other-url : any absolute or relative URL that will be displayed after the delay has expired.

Be sure that you put the meta in the head, not the body.
:)
 

ASPX.King

New Member
Messages
155
Reaction score
0
Points
0
in your control panel you can set up forum.bakclan.x10hosting.com to point to bakclan.x10hosting.com/forum

you shouldn't need to code it, unless i understood you wrong
 
Last edited:

[BAK]ThePro

New Member
Messages
61
Reaction score
0
Points
0
in your control panel you can set up forum.bakclan.x10hosting.com to point to bakclan.x10hosting.com/forum

you shouldn't need to code it, unless i understood you wrong


no i mean that i need the main page to point to /forum
 

ASPX.King

New Member
Messages
155
Reaction score
0
Points
0
oh, okay. i don't know if you can do that in cPanel or not, but if you do what aopsftw said, add <meta http-equiv="refresh" content="3;URL=forum" /> to it, right after <head> then that should do it. or, what would be better, is to do it with PHP code, but I don't know that...
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
/***************Since the issue is solved i am closing this thread********/
/*************The author can open it up if he wants further help regarding this***********************************/
 
Status
Not open for further replies.
Top