Page 1 of 1

[Solved] Portal as main page

PostPosted: Mon Jun 25, 2007 2:31 am
Author: Karen
I've got it to show when you go to my url but all my forum files are in a folder called forums inside my root. All the links on my portal stay within my root and don't actually open where they should - in the forum folder.
I've tried various things already posted, does anyone have any ideas how to fix it?
If you go to babydreamz.net/forum/portal.php it works perfectly, but I need it to work properly when people go to babydreamz.net
I love IM portal, I don't want to have to get rid of it <img>

Re: Portal as main page

PostPosted: Mon Jun 25, 2007 7:42 am
Author: Imajica
I do it this way on my site....
make this your index.html file in the webroot
Comes in handy to redirect pages

[code]<html><head><title>BabyDreamz</title><meta http-equiv="Refresh" content="1; URL=http]

PostPosted: Mon Jun 25, 2007 8:01 am
Author: Karen
Thank you for trying to help, unfortunately it didn't work. I mean it does work if you look at the code by itself but its not redirecting my url to my working portal. The old page is still loading. The links in the block work ok but the header buttons and the ACP link lead to a page cannot be displayed page. Its just not going to my forums folder..gah!! Lol!

Re: Portal as main page

PostPosted: Mon Jun 25, 2007 11:58 am
Author: CaNNon
Try renaming the index.html to index.bak in the http://babydreamz.net/forums folder, It's running before the index.php file.

also why the second forums dir http://www.babydreamz.net/forums/forums

PostPosted: Mon Jun 25, 2007 1:48 pm
Author: Imajica
do you have something in .htaccess in the webroot that tell it to load index.php from /forums?

PostPosted: Wed Jun 27, 2007 1:36 am
Author: Karen
Thanks for the replies, we couldn't get it work so we moved the forum to my root - should've done that in the first place!
Anyway main thing is I can keep the portal - yay!

Re: [Solved] Portal as main page

PostPosted: Tue Jul 10, 2007 6:48 am
Author: rtanner83080
I seem to be having the same problem as Karen.

I have the main website which is [url=http]Uncle Sams Bargains[/url] and then I have the forum which is [url=http]Uncle Sams Forum[/url].

When you click the second link, I wanted it to direct you to the portal page, not the forum (which I can't figure out why it isn't showing any of the forums - another problem I already posted).

I did as advised in this topic. I created the html file. I tried doing that but it takes me to the index.php page instead of the index.bak or the index.html page. I don't have any htaccess files in my root directory. The code itself on the index.bak page works when going directly to it; however, when you just type in http://www.unclesamsbargains.com/forum, it goes directly to the index.php.

Is there any other way to solve this problem other than trying to bring the whole forum to the main root directory?

Re: [Solved] Portal as main page

PostPosted: Tue Jul 10, 2007 12:38 pm
Author: Helter
use notepad to create a file "index.html"
paste this code into it and upload it inside your forum folder

Code: Select all
<HTML><HEAD><META></HEAD><BODY></BODY></HTML>

Re: [Solved] Portal as main page

PostPosted: Tue Jul 10, 2007 4:44 pm
Author: rtanner83080
"HelterSkelter";p="27159" wrote:use notepad to create a file "index.html"
paste this code into it and upload it inside your forum folder

Code: Select all
<HTML><HEAD><META></HEAD><BODY></BODY></HTML>

I just did this. Didn't work m8. It goes directly to the index.php file.

PostPosted: Tue Jul 10, 2007 6:17 pm
Author: tmotley
I just did this and it seems to function perfectly...

Using a quality text editor, copy and paste this code and save the file as .htaccess

Code: Select all
DirectoryIndex portal.php index.php index.html


Upload that file to your forum root and that should tell it to load portal.php first

Here it is in action on one of my sites. The forum is in a folder called bb

[url=http]http://motleyville.com/bb[/url] should take you directly to the portal. Also, you'll notice it leaves the url the same... as in it doesn't add the portal.php onto it.

(NOTE: That's not my knowledge... it's from a post by Frost.)

PostPosted: Tue Jul 10, 2007 6:23 pm
Author: viragotech
where is the domain registered?

Almost all of them give free forwards so you can make your domain point to a different page.

just bomb any index.htm or html in said folder so it don't auto load it.