• I’m setting up an alpha version of Simple:Press, a forum plugin for WP on a multisite install with subdomains. I’m running into a problem and hoping some of the gurus here can point me in the right direction of things to check. MS is setup and running fine.

    Simple:Press creates a WP page and outputs a forum to that page.

    Simple:Press works fine on every site I setup in the network except the main site. On the main site, Simple:Press works fine up until I edit the page in WP. I’m using a Genesis child theme, so I could set the page to be full width. Once I edit and save the page, the forum page redirects to the home page after a 302 error.

    However, this only happens on the main site. I have activated the same Genesis theme on a subdomain, with the same set of plugins, and it works fine. I have activated the same Genesis theme with the same set of plugins on another multisite install and it works fine. By the way, one of those plugins is W3 Total Cache. All are on similar VPS hosting platforms. The problem is just with this 1 multisite install, and only with the main site. Subdomains within that network are fine. I’ve double-checked the .htaccess, and it seems fine and is just like the .htaccess on the other network that works fine. I have even manually deleted the entries added to postmeta after editing the page, and checked the posts table, and as far as I can tell, after editing the WP page and making the manual changes, the WP page is just like before it was edited (except for the mod date). Yet it still triggers the 302 and redirects.

    Can anyone suggest what I might check to try to resolve this? Thanks in advance for any pointers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter frisco

    (@frisco)

    I figured out a solution to my own problem. I had this in my wp-config.php:

    define( 'NOBLOGREDIRECT', 'http://www.mydomain.com' );

    which is why I was only seeing the odd behavior on the main site. As a workaround, I created a script with this:

    <?php
    remove_action( 'template_redirect', 'maybe_redirect_404' );
    ?>

    and put it in my wp-content/mu-plugins folder. That is at least 1 solution. Is it the best or right one?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I’m tagging this for Simple-Press so the devs (hopefully) see it.

    I’ve not seen this problem, and I’ve used bbPress on a subdomain install of a MultiSite without issues. It may be something funky in the theme or the simplePress plugin.

    Hopefully someone familiar with the plugin can chime in!

    (Oh! Stupid question – Did you try resaving Permalinks?)

    Thread Starter frisco

    (@frisco)

    Thanks for the feedback, Ipstenu. I’ve covered with the devs already, and posted my workaround on their site as well. Yes, I did resave permalinks, several times.

    I think one difference is that bbPress (at least the current plugin version) uses custom post types, so the content is within WP content types. Simple:Press puts its forum and posts in its own tables and uses rewrites to get visitors to them. I think that is the issue.

    I don’t think it is theme related, but I can try the Twenty Eleven theme. I don’t know why their approach would trigger a 404, and it was my understanding that NOBLOGREDIRECT only came into play if a 404 was being generated. Anyway, as much as I’d like to know why it occurs, I’ve tested the fix I posted above and it works.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    BuddyPress doesn’t use CPTs (yet) and doesn’t have that issue, so I don’t think that’s it…

    Try a different theme, though, for a laugh.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multisite with forum plugin Simple:Press’ is closed to new replies.