MyBB Community Forums
htaccess redirect is permanent - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: htaccess redirect is permanent (/thread-239221.html)

Pages: 1 2


htaccess redirect is permanent - afer - 2023-09-20

Read a couple of similar threads about similar issue & none helped.

The .htaccess is configured to redirect to portal.

It is working.

 However, I see no way of accessing the forum.


RE: htaccess redirect is permanent - Crazycat - 2023-09-20

Without showing the .htaccess, noone can help you.


RE: htaccess redirect is permanent - afer - 2023-09-20

oops, sorry

I am working on a theme @ a 'test' site
RewriteRule ^([^&]*)&(.*)$ http://testboard.free.nf/index.php/$1?$2 [L,QSA,R=301]
DirectoryIndex portal.php


Redirect /index.php /portal.php



RE: htaccess redirect is permanent - Crazycat - 2023-09-20

Remove the Redirect /index.php /portal.php

With the DirectoryIndex directive, accessing http://testboard.free.nf/ will open the portal.php but accessing any explicit page (like http://testboard.free.nf/index.php or http://testboard.free.nf/showthread.php?tid=53 will work normaly


RE: htaccess redirect is permanent - afer - 2023-09-21

maybe I was not too clear.  What I am trying to accomplish is for Portal to be Home.

by removing the 'Redirect /index.php /portal.php' now is logging into the forum again.

by adding  'Redirect /index.php /portal.php'  it logs into Portal but cannot access forum.

That was my issue. I tried a few variations with htaccess & can't seem to accomplish this.


RE: htaccess redirect is permanent - Crazycat - 2023-09-21

I don't really understand what you expect.
You want to redirect everything to the portal but the login page ?


RE: htaccess redirect is permanent - afer - 2023-09-21

(2023-09-21, 08:12 AM)Crazycat Wrote: I don't really understand what you expect.
You want to redirect everything to the portal but the login page ?

no, I didn't say that  - what I am trying to do is:

For the site address to 'Initially' go to 'portal ' instead of 'forum' section.

As described here:  (these solutions below are not working anymore)

https://community.mybb.com/thread-212239.html

https://community.mybb.com/thread-214092.html

https://community.mybb.com/thread-218096.html

https://community.mybb.com/thread-93151.html

https://community.mybb.com/thread-212239.html

The purpose of the portal is to have it respond as the 'entry' point to any site.
What would be the purpose to have a 'portal' on the side ?

There was an Mybb plug years back that did this but is no longer available.

I was thinking maybe renaming 'index.php' to 'forum.php (which does not exist)
then rename 'portal.php to index.php ?


RE: htaccess redirect is permanent - Crazycat - 2023-09-21

Sorry, I don't understand your trouble or your expectation.
I hope someone else will succeed to help you.


RE: htaccess redirect is permanent - bv64 - 2023-09-22

Unfortunately, I don't understand what you really want either

If someone clicks a link to a thread in your forum on Google, for example, should they still end up on the portal?


RE: htaccess redirect is permanent - afer - 2023-09-22

Ok - the Nitty Gritty 1&2...
1. I would like, when a user arrives @ site, to be met by the Portal.
2. ability to enter the Forum from the Portal.
period Smile

Initially, The 'search here' had provided me with numerous accounts dealing with this very same question.
I tried most of the advice provided there this week; including from the Mybb 1.8 manual.
None of the suggestions have worked for me.

@ Crazycat &  bv64 -  I apologize if I have created a confusion. I thought I had explained it clearly @ my first post.

Quote:Crazycat - Sorry, I don't understand your trouble or your expectation.
I hope someone else will succeed to help you.

I understand, thanks for trying Crazycat, I appreciate your interest.



Quote:bv64 - If someone clicks a link to a thread in your forum on Google, for example, should they still end up on the portal?

Of course not - a link is a link.