Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 3 Months, 4 Weeks ago How to make the portal page my homepage?
#1
Solved: 1 Year, 3 Months, 4 Weeks ago
OK, the infamous question that's been asked 100 times. How to make the portal page my homepage? 

- When I'm logged out and I go to my site, The Clubhouse,  I see the forum page.
- When I'm logged in and I go to The Clubhouse I see the forum page. 

I want the portal page to show.

- When I log in (from the forum page that's showing at theclubhouse.tk) it logs me in to the forum.
- However, if I log in using the portal page it keeps me on the portal page instead of kicking me to the forums. Which is good, perfect, great!!


I have made an htaccess file with this code just to cover all my bases.
DirectoryIndex portal.php index.php index.html index.htm

If I try changing the Board URL or Homepage URL in the Admin Panel my Portal freaks out. LOL

What I want is - 

When I'm logged OUT and I type theclubhouse.tk I want the portal to show.

I've done this before on other boards. I've been struggling with this for hours, I know I'm overlooking something simple. I can't figure it out.  Sad
Reply
#2
Solved: 1 Year, 3 Months, 4 Weeks ago
Firstly, make your title/subject of the thread relevant to what you’re asking. If not, your thread will probably get closed in the near future. How are you setup? If you have access to the server you can try setting the DirectoryIndex in your server (.conf file) block, ur not already defined.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#3
Solved: 1 Year, 3 Months, 4 Weeks ago
(06-13-2018, 07:04 AM)Wires Wrote: Firstly, make your title/subject of the thread relevant to what you’re asking. If not, your  thread will probably get closed in the near future. How are you setup? If you have access to the server you can try setting the DirectoryIndex in your server (.conf file) block, ur not already defined.

Noted and changed the title/subject. Thank you for the heads up. I'm pretty sure I don't have access to the server...I'm not sure exactly what that means. I'm not hosting my own site, I have access to my cpanel though.
Reply
#4
Solved: 1 Year, 3 Months, 4 Weeks ago
You can try this... change ''example'' with your site url
Set this to the top/start of your .htaccess file

RewriteRule ^([^&]*)&(.*)$ http://example.com/$1?$2 [L,QSA,R=301]
DirectoryIndex portal.php


Redirect /http://example.com http://example.com/portal.php
Reply
#5
Solved: 1 Year, 3 Months, 4 Weeks ago
(06-13-2018, 07:39 AM)BaggerHD Wrote: You can try this... change ''example'' with your site url
Set this to the top/start of your .htaccess file

RewriteRule ^([^&]*)&(.*)$ http://example.com/$1?$2 [L,QSA,R=301]
DirectoryIndex portal.php


Redirect /http://example.com http://example.com/portal.php

Sorry it didn't work. I even cleared my browser cache and did the f5 thing. I've got something messed up, but everythings working except the portal redirect. Sad
Reply
#6
Solved: 1 Year, 3 Months, 4 Weeks ago
Are you sure your .htaccess file is named .htaccess (with other words, the dot then the name, and not htaccess.txt?
Reply
#7
Solved: 1 Year, 3 Months, 4 Weeks ago
(06-13-2018, 08:59 AM)BaggerHD Wrote: Are you sure your .htaccess file is named .htaccess  (with other words, the dot then the name, and not htaccess.txt?

Are you kidding me?! OMG I get the bonehead award of the year!!!  That was the ticket. I feel really dumb right now!  You rock BaggerHD.

Solved!

(06-13-2018, 08:59 AM)BaggerHD Wrote: Are you sure your .htaccess file is named .htaccess  (with other words, the dot then the name, and not htaccess.txt?

Are you kidding me?! OMG I get the bonehead of the year award!!!  I didn't have the "dot" before htaccess. That was the ticket.
I feel really dumb right now!  You rock BaggerHD.

Solved!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)