[Solved] Portal as main page

Support for the IM Portal Project

Moderator: Integra Moderator

[Solved] Portal as main page

PostAuthor: Karen » Mon Jun 25, 2007 1:31 am

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>
Last edited by Karen on Mon Jul 02, 2007 1:12 am, edited 1 time in total.

Karen
Members
Members
 
Posts: 35
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 10, 2007 2:52 am
Cash on hand: 0.00

Re: Portal as main page

PostAuthor: Imajica » Mon Jun 25, 2007 6:42 am

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]
Last edited by Imajica on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Imajica
Integra Member
Integra Member
 
Posts: 143
Likes: 0 post
Liked in: 0 post
Joined: Thu Jul 13, 2006 6:24 pm
Cash on hand: 0.00

PostAuthor: Karen » Mon Jun 25, 2007 7:01 am

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!
Last edited by Karen on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Karen
Members
Members
 
Posts: 35
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 10, 2007 2:52 am
Cash on hand: 0.00

Re: Portal as main page

PostAuthor: CaNNon » Mon Jun 25, 2007 10:58 am

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
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: Imajica » Mon Jun 25, 2007 12:48 pm

do you have something in .htaccess in the webroot that tell it to load index.php from /forums?
Last edited by Imajica on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Imajica
Integra Member
Integra Member
 
Posts: 143
Likes: 0 post
Liked in: 0 post
Joined: Thu Jul 13, 2006 6:24 pm
Cash on hand: 0.00

PostAuthor: Karen » Wed Jun 27, 2007 12:36 am

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!
Last edited by Karen on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Karen
Members
Members
 
Posts: 35
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 10, 2007 2:52 am
Cash on hand: 0.00

Re: [Solved] Portal as main page

PostAuthor: rtanner83080 » Tue Jul 10, 2007 5:48 am

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?
Last edited by rtanner83080 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

rtanner83080
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 09, 2007 1:20 pm
Cash on hand: 0.00

Re: [Solved] Portal as main page

PostAuthor: Helter » Tue Jul 10, 2007 11:38 am

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>
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: [Solved] Portal as main page

PostAuthor: rtanner83080 » Tue Jul 10, 2007 3:44 pm

"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.
Last edited by rtanner83080 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

rtanner83080
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 09, 2007 1:20 pm
Cash on hand: 0.00

PostAuthor: tmotley » Tue Jul 10, 2007 5:17 pm

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.)
Last edited by tmotley on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: viragotech » Tue Jul 10, 2007 5:23 pm

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.
Last edited by viragotech on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Vendethiel

cron