MyBB Community Forums

Full Version: portal <> forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My members cant log into the portal after moving it to new directory
Hm,
you could make a redirect to the portal.

Example

/index.php
/forum/portal.php

So when someone requests /index.php (your "moved portal") just redirect to /forum/portal.php (the "original portal").

This can be done with a server rewrite rule, a server redirct, php, html, javascript, ... (all methods are linked)#

I prefer this method:

Just put these lines into /.htaccess:
<IfModule mod_rewrite.c>
	RewriteEngine on
	RewriteRule ^$ forum/portal.php [L,QSA]
</IfModule>

Thats everything you need. Your visitor think they are at example.net/ but in reality they see the content of example.net/forum/portal.php
you mean they can not use the quick login on the portal page to login after you moved it?

if so, see a previous post of mine at http://community.mybboard.net/thread-56660.html (just the first thread, no need for the info in the last post of that thread)