03-03-2017, 10:35 AM
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
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
example as www.mysite.com/forum/ as www.mysite.com
i created a . htaccess in root as follows
Code: (Select All)
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