arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use subdirectory as root mybb issue
#1
I have mybb in a subdirectory. i want to make it as root.
example as www.mysite.com/forum/ as www.mysite.com
i created a . htaccess in root as follows

RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com
RewriteCond %{REQUEST_URI} !^/forum
Rewriterule ^(.*)$ /forum/$1 [L]


this is working fine except for one issue.

when i access adminCP for the logging page it redirects to correct way.
www.mysite.com/admin

but after loggin it changes into
www.mysite.com/forum/admin

it should be
www.mysite.com/admin
even after the logged in

what could be the issue? please ask anything from me to assist this. i will tel more info
[Image: 687474703a2f2f7075752e73682f6f437766762f...322e676966]
#2
I just guess MyBB redirects you. Do other directories work?
#3
so far other directories working fine. can you tell me any specific to check?
[Image: 687474703a2f2f7075752e73682f6f437766762f...322e676966]



person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting