cereus
Forum Replies Created
-
I have solved one of two problems regarding page redirects and it might be relevant to your question (or someone else’s).
My first problem was to redirect users to the login page when they tried to access pages that were blocked. It was trying to go to /welcome, but was saying the page was not found.
I had to make changes to /etc/apache2/sites-enabled/000-default (which is where information about virtual servers is stored).
For both:
<Directory />
and
<Directory /var/www/>I had to change code to: AllowOverride All
I am running Apache/2.2.22 with several virtual servers defined in the directory sites-enabled.
My second problem is, once users have logged in, the redirect fails (the right page is in the hook but then it just goes to dashboard). I haven’t found a solution for this yet.
(I had posted this answer to the wrong forum question, but I will leave it here because I can’t figure out how to delete it)
I have solved one of two problems regarding page redirects and it might be relevant to your question (or someone else’s).
My first problem was to redirect users to the login page when they tried to access pages that were blocked. It was trying to go to /welcome, but was saying the page was not found.
I had to make changes to /etc/apache2/sites-enabled/000-default (which is where information about virtual servers is stored).
For both:
<Directory />
and
<Directory /var/www/>I had to change code to: AllowOverride All
I am running Apache/2.2.22 with several virtual servers defined in the directory sites-enabled.
My second problem is, once users have logged in, the redirect fails (the right page is in the hook but then it just goes to dashboard). I haven’t found a solution for this yet.
Well, I haven’t had any problems with domains, yet, but I don’t have a system up and running.
The next big problem is I don’t get separation of my buddypress networks. When buddypress is installed on a network, it adds all the blogs to the network (which can be deleted in the table manually). The same thing happens with all users. New blogs created on different networks aren’t added. I can remove the extra blogs from the tables, but I don’t know which tables contain the information about which user belongs to which network.
And I can’t figure out a good way to make the networks private.
So I keep working.
Hmmm. Appears that
Comment out DOMAIN_CURRENT_SITE in your wp-config.php file.
works.
How I missed that…