MyBB Community Forums

Full Version: How do i redirect this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If you go on google and i type my website..

www.football-forever.net

I don't actually use that, i use www.football-forever.net/forum and i don't plan on using a main page for a while so how do i make it so when click www.football-forever.net is goes straight to the forum.

Because at the minute it it takes me to a index page?
Try adding this to your .htaccess

Redirect /index.html http://www.football-forever.net/forum

Also, create a index.html file in your public_html (Or htdocs in some cases) folder
Didn't work.
Try this

# Provide Specific Index Page
DirectoryIndex forums/index.php
Where exactly do i put this?
At the very bottom of your .htaccess file located at the root of your forums directory.
Yea didn't work.

Don't like the fact it says this on google either.

http://gyazo.com/8cf01d83302b499a9cc855b13e379ae6

I wish i didn't install it in a sub directory now, i don't really have any intentions to make a main site.
What I would recommend is that you create a file called "index.html" then have people redirect from there to your forums. It would help with the Google result too.
What so just make a index file?

Do I have to put anything in there and where do I put it?
You have two options.

1. Follow my reply #2 and create an empty index.html file.
2. Create a index.html file and either you tell you members to click a button to redirect or have an auto redirect after few seconds. To redirect after few seconds, use the following code:

<META HTTP-EQUIV=Refresh CONTENT="SECONDS; URL=forums/index.php"> 

Add the above code within the <head> tags of your index.html file.

Possible Preview

<HTML>
<HEAD>
…
<META HTTP-EQUIV="refresh" CONTENT="2;URL=facebook.com">
…
</HEAD>
<BODY>
You will be redirected in few seconds...
</BODY>
</HTML> 
Pages: 1 2