Help with Redirecting

kaze105

New Member
Messages
5
Reaction score
0
Points
0
My forum opens by the link of xxx.exofire.net/forum, but it shows the index page when i enter xxx.exofire.net

I am not sure how i can redirect it so it opens xxx.exofire.net/forum.

Also, does anyone know good websites for free ipb skins?

Thanks
 

jamiestewart48

New Member
Messages
1
Reaction score
0
Points
0
My forum opens by the link of xxx.exofire.net/forum, but it shows the index page when i enter xxx.exofire.net

I am not sure how i can redirect it so it opens xxx.exofire.net/forum.

Also, does anyone know good websites for free ipb skins?

Thanks

If you want the forum to be the main page of your site then you need to have it installed there, and not at /forum/. Otherwise you will need to create a main index page that will link to the forum if browsers wish to go there.
 

gomarc

Member
Messages
516
Reaction score
18
Points
18
As sugested by jamiestewart48, in xxx.exofire.net create this file

File name: index.php
PHP:
<?php

header("Location: /forum");

?>
If you want to do it in html,

File name: index.html
HTML:
<html>
<head>

<meta http-equiv="Refresh"
content="0;url=http://xxx.exofire.net/forum/">

</head>
<body>
</body>
</html>
 

kaze105

New Member
Messages
5
Reaction score
0
Points
0
When you say to create this file, do you mean to create it in public_html in file manager?

(Sorry, very new to this)
 

datumon

New Member
Messages
17
Reaction score
0
Points
0
Yes, if you are new to websites then this simple method should help:
- Open up Notepad in windows
-Copy the HTML code as written by gomarc:
HTML Code:

<html>
<head>

<meta http-equiv="Refresh"
content="0;url=http://xxx.exofire.net/forum/">

</head>
<body>
</body>
</html>
and paste it into Notepad (Ctrl+C to copy, Ctrl+V to paste), changing xxx to your domain.
Once you've done that, select File>Save As..., and in the file name type in index.html
In the file type drop-down, select All files.
Save the HTML file to a directory on your computer.
Then go to cPanel on your site, select Legacy File Manager, and then select the file on your computer that you want to upload. Make sure that you've selected the public_html directory, and that there aren't any other index.htm, .html or .php etc files in the directory.
Once you've selected upload, open a new tab and test that what you've just done works.
The site should momentarily display a white screen (the page you created), and then it should redirect to your forum directory as instructed in the HTML code previously.

I'm sorry if I've made the guide too simple, I don't know how much experience you have.
Hope this helps!

Datumon
 
Top