Basic one, how to get main url to direct to forums

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Ideas Centre
Post Reply
lylefk
Registered User
Posts: 1
Joined: Sat Jun 04, 2016 9:50 pm

Basic one, how to get main url to direct to forums

Post by lylefk » Sat Jun 04, 2016 9:56 pm

Aloha,

Sorry for the super basic one, but here goes.

I've installed the forums at the suggested /forums location on the domain.

I want people that arrive at www.example.com to be directed to www.example.com/forums.

My very limited understanding is that I need to modify an index.html file or make an .htaccess file and stick a couple lines of code in there? Is that correct? What's the story if so? Thanks so much, appreciate the resource!

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Basic one, how to get main url to direct to forums

Post by Lumpy Burgertushie » Sun Jun 05, 2016 12:45 pm

the best way is to move all of the phpbb files/folders out of the folder named forum into the root of the domain.

just use your ftp to move all of the phpbb files and folders up one level and then delete the now empty folder named forum.

done.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

KnownSyntax
Registered User
Posts: 37
Joined: Mon Sep 22, 2014 8:47 pm
Location: Arizona, United States

Re: Basic one, how to get main url to direct to forums

Post by KnownSyntax » Sun Jun 05, 2016 9:37 pm

You honestly don't even need an index.html file as long as you have the .htaccess correct. You can either use 301 (or another type of code) to let search engines know that the main domain has been permanently./temporarily redirected to your forums.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Basic one, how to get main url to direct to forums

Post by Lumpy Burgertushie » Mon Jun 06, 2016 1:55 am

you can do this with htaccess. however, in this situation it would be better to just move the board to where you really want it to be instead of messing with redirects etc.

a 301 redirect would only be needed if you were moving a page/site that already had a lot of links out there and in the search engines. on a new board there is no need for it, just move the files.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Post Reply

Return to “phpBB Discussion”