Page 1 of 1

Portal as index page

Posted: 18. June 2011 08:29
by giardiniere
Is possible to set portal as default index page?

Re: Portal as index page

Posted: 19. June 2011 08:46
by archivar
giardiniere wrote:Is possible to set portal as default index page?
Yes!!!
read them before this:
knowledge/
viewtopic.php?f=49&t=4572
viewtopic.php?f=36&t=1641

Re: Portal as index page

Posted: 19. June 2011 17:40
by giardiniere
Thank you for your useful answer. I've tried solution in another site ;) :

in root, open htaccess and try:

Code: Select all

DirectoryIndex
Then, add after:

Code: Select all

portal.php
then save and refresh

otherwise

at the end of .htaccess file, add this line

Code: Select all

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

Re: Portal as index page

Posted: 9. July 2011 21:10
by playagiron
Perfect solution, works like charm.

FOr me the only small issue with this solution is that now on your forum, the URL in the address bar is www.forumname.com/portal.php and if people copy the link or reference it, it is like this rather than the pure www.forumname.com.

Any chance to change this behaviour, i.e., just have the TLD in the URL bar, probably through an Mod rewrite in the htaccess, but not sure how it will interact with the directory listing.

Any ideas would be appreciated!
playagiron