Help Please?!

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
dbjs2009
Registered User
Posts: 135
Joined: Fri Jul 02, 2010 3:47 pm

Help Please?!

Post by dbjs2009 »

Hi:

I've installed the portal mod successfuly few day ago, usually when you want to go to the portal you must type in the browser http://mysite.com/PhpBB/portal.php but I want to make it the main page so when I or anyone else types http://mysite.com/ it goes to http://mysite.com/PhpBB/portal.php ... Actually I was told that can ony be done by using the mod_rewrite.html and htaccess files but I tried everything but no luck, and I don't know what codes to use for both of these files, can anyone help please??

And thanks in advance
|www.cncmasters.ner||www.v10h.com|
Don't mess with white tigers..
User avatar
d1m0
Registered User
Posts: 127
Joined: Wed Nov 25, 2009 9:20 am

Re: Help Please?!

Post by d1m0 »

Add this code to your .htaccess file (if you don't have one, you can simply create it):

Code: Select all

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mysite.com$
RewriteRule ^/?$ "http\:\/\/mysite\.com\/PhpBB\/portal\.php" [R=301,L]
This will redirect mysite.com and www.mysite.com to mysite.com/PhpBB/portal.php.
SiteGround Technical Support Team Member
Check out our special phpBB hosting package
User avatar
dbjs2009
Registered User
Posts: 135
Joined: Fri Jul 02, 2010 3:47 pm

Re: Help Please?!

Post by dbjs2009 »

This is what I was looking for all the codes that I used didn't work but this one is awesome, so thank you very much :P
|www.cncmasters.ner||www.v10h.com|
Don't mess with white tigers..
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: Help Please?!

Post by callumacrae »

Also, ask the mod author next time - this forum is for phpBB support :D

~Callum
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
Locked

Return to “[3.0.x] Support Forum”