Page 1 of 1

how to make the portal default

Posted: 6. February 2020 16:51
by TaTay
how to make the portal default?

Re: how to make the portal default

Posted: 6. February 2020 17:40
by Kirk
Do you mean the portal as a start page?
Open root/htaccess add this at the end:

Code: Select all

DirectoryIndex app.php/portal index.php index.html index.htm

Re: how to make the portal default

Posted: 7. February 2020 09:59
by TaTay
Thanks, it works fine!

Re: how to make the portal default

Posted: 8. April 2021 15:01
by Viragohelp
Hi. when I try this it breaks on me.
DirectoryIndex phpbb3/app.php/portal index.php index.html index.htm

Any ideas? I am converting my wordpress side articles into the forum side right now so I will need to figure this out. Thank you!

Here is a pic of broken view.
Image

Re: how to make the portal default

Posted: 9. April 2021 05:37
by Kirk
You did not enter it correctly:

Re: how to make the portal default

Posted: 9. April 2021 09:06
by Viragohelp
but the folder is not at my root. I try it without the phpbb3 and just my viragohelp wordpres side loads..... viragohelp.com loads wordpress side. viragohelp.com/phpbb3/index.php loads phpbb

Re: how to make the portal default

Posted: 9. April 2021 18:28
by Kirk
Your .htaccess is located in the directory phpbb3
An alternative would be this:
Create a file called portal.php with the following content:

Code: Select all

<?php
header("Location: https://viragohelp.com/phpbb3/app.php/portal");
exit;
Load this file into your forum root (where the config.php is located).


Open: root/.htaccess
Add this at the very end:

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm

Re: how to make the portal default

Posted: 10. April 2021 10:23
by Viragohelp
I actually tried that yesterday and it worked! Thank you very much. My website is barely covering itself but I went ahead and sent 20 bux to board 3. I donated before but it was few years back. This extension in my opinion is one of the best for phpbb. I have another question but I will make a new post for it. Thank you!