-
Ray replied to the topic Buddy Press Upgrade Issue in the forum Help & Support 2 weeks, 6 days ago
Hi Jesse,
Regarding:
However, there is no way to do this through the Dashboard and when I try to update via CPANEL it knocks out my site. Most of the errors seem to be with the CBOX theme.
About the problem with CBOX Theme, are you able to access your server’s PHP error log? If you are able to, can you post the entries related to CBOX…[Read more]
-
Ray replied to the topic Removing BP Classic in the forum Help & Support 3 months, 3 weeks ago
Hi Jesse,
BuddyPress 12.0 is a major release that has breaking changes for older BuddyPress plugins such as bbPress.
BP Classic is required so BuddyPress backward compatibility is maintained. Hence CBOX requires BP Classic until all our recommended BuddyPress plugins have updated their codebases to support BuddyPress 12. You can keep track of…[Read more]
-
Boone Gorges wrote a new post 5 months, 3 weeks ago
Commons In A Box 1.6.0Commons In A Box 1.6.0 is now available! Both the Classic and OpenLab packages now enjoy greater compatibility with the latest versions of WordPress […]
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
The redirect snippet did the trick! Thank you both so much!
-
Ray replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
Hi Paul,
Can you try the following code snippet? https://gist.github.com/r-a-y/bc390ceb5d1872044e05b3aed35431c1
Save to
/wp-content/mu-plugins/wpmu-subdomain-redirects.php
. WordPress, by default, has strict redirect rules and for some reason, does not allow subdomain redirects even on the same domain. The code snippet should bypass this…[Read more] -
Boone Gorges replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
Very peculiar. Paul, if you’re comfortable with it, you could try (temporarily) running this small redirect logger that I’ve written: https://gist.github.com/boonebgorges/83ad69a81052c5ce43001d7c7523a586 Put it in wp-content/mu-plugins/redirect-log.php. Then, trigger the redirect. You should see a redirect-log.txt file at wp-content/uploads/.…[Read more]
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
Thanks, Ray. I debugged as you suggested, and indeed the URL that’s outputted to the browser is the URL for the blog e.g.,
https://dh.sunygeneseoenglish.org
so BP Groupblog is behaving as it should.I’m not running any must-use plugins and don’t have a bp-custom.php file. I’m using a child theme but haven’t made any recent changes to it.
¯_(ツ)_/¯
-
Ray replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
On my local installation of CBOX with BP Groupblog enabled, I am not running into the groupblog redirect issue.
Like the
NOBLOGREDIRECT
line, do you have any other code snippets inwp-config.php
,wp-content/plugins/bp-custom.php
,wp-content/themes/cbox-child
, or inwp-content/mu-plugins
?If not and you feel adventurous, you can try some…[Read more]
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months ago
I’ve deactivated each plugin in turn (except CBOX), and none of the plugins appears to be the cause of the problem.
The problem happens with all groups, whether public or private. The “Blog” link in the left navigation for the group redirects to https://sunygeneseoenglish.org/wp-admin/
-
Ray replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
The other plugins seem fine to me, but if you want, you can disable them one at a time to see if one of them might be causing the redirect.
Some other potential things to check: Do you have any 3rd-party plugins running on the groupblog that might be causing the redirect? What is the privacy option set to for the groupblog in question?
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
I deactivated WordFence, but the behavior persists. I think the general behavior you were observing earlier — “if I attempt to visit a page that doesn’t exist on your site (https://sunygeneseoenglish.org/WHATEVER), the URL will redirect back to the homepage instead of landing on the 404 page” — was caused by this line in wp-co…[Read more]
-
Ray replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
Hi Paul,
WordFence could be the culprit. Can you try temporarily disabling WordFence and then trying to check the groupblog link?
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
Hi Ray,
Plugins, in addition to CBOX and its bundled plugins, are
- Akismet
- BP Classic
- Classic Editor
- Collapse-o-Matic
- CommentPress Core
- Markup Markdown
- PDF Embedder
- Post Type Switcher
- WordFence
Thanks,
Paul -
Ray replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
Hi Paul,
I notice that if I attempt to visit a page that doesn’t exist on your site (https://sunygeneseoenglish.org/WHATEVER), the URL will redirect back to the homepage instead of landing on the 404 page. I’m guessing a plugin is causing this behavior, which in turn is affecting the groupblog redirect.
It’s possible that a plugin is responsible…[Read more]
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
I’m running BP 11.4.0 and letting CBOX manage my plugins. I’ve sometimes managed them independently in order to stay abreast of updates, but I knew from some of your messages in the GitHub repo that 12 has significant differences, so I’ve held back.
-
Boone Gorges replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
For reference, here’s where the redirect happens: https://github.com/boonebgorges/bp-groupblog/blob/565b256ede1f2a8c89c480e78b97753d3257afbe/bp-groupblog.php#L1881
I suspect that
$blog_id
is incorrectly returning1
, and/orget_home_url()
is doing something strange.Have you by any chance updated BP to version 12.0+? You would have to have done…[Read more]
-
Paul Schacht replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
Thanks for the reply, Boone! Redirect is set as it should be under GroupBlog Setup. I’m seeing this behavior on blogs associated with public groups that anyone can join. A logged in user who’s a member of the group gets directed to the Dashboard of the main site, English @ SUNY Geneseo. Ditto for a logged in user who isn’t a member of the group. A…[Read more]
-
Boone Gorges replied to the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
Hi Paul – It’s normal for the href attribute of the links to point to /groups/name-of-group/blog. But once you load that page, you ought to be redirected to the group blog’s home page, ie to name-of-blog.sunygeneseoenglish.org.
A few things to check:
– Go to Dashboard > Network Admin > Settings > GroupBlog Setup > Redirect. Ensure that ‘Redirect…[Read more]
-
Paul Schacht started the topic Group Blog Links Redirect to Login Page in the forum Help & Support 11 months, 1 week ago
At https://sunygeneseoenglish.org, the “Blog” link in the left navigation of each group’s home page redirects to the main site’s login page (when logged out) or to the main site’s dashboard (when logged in, for a user with access to the main site’s dashboard).
The “Blog” link in every group’s left navigation has the form…[Read more]
-
Boone Gorges wrote a new post 1 year ago
Commons In A Box 1.5.1 is now available! This release includes a number of important plugin updates, and also fixes a few bugs with mobile layout and site menus. Visit […]
- Load More