• Resolved BitchSpot

    (@bitchspot)


    In my multisite installation, I have one sub-site that I cannot access comments in. Currently, it lists 3 comments awaiting moderation, but if I click on the comments tab, it takes me to the comments page of the master site where there are no comments waiting. Any ideas how I can access these comments to approve them?

    Thanks.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    You’re going to sub site.yoursite.com/wp-admin, right?

    Thread Starter BitchSpot

    (@bitchspot)

    It’s a subdirectory, I’m clicking on the comments link from within the sub site dashboard, it’s just taking me elsewhere.

    What happens if you access the URL directly?

    Getting it means taking the URL you have and putting the subsite slug in the right spot. No clicking links. πŸ™‚

    This helps narrow down if it’s just the link generated on the page, or if it’s the page itself.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Okay so you go to yoursite.com/subsite/wp-admin πŸ™‚ Same idea, and I just wanted to be sure you were on the right page.

    The normal comments URL is yoursite.com/subsite/wp-admin/edit-comments.php

    (what’s in your .htaccess file, BTW, if that doesn’t work)

    Thread Starter BitchSpot

    (@bitchspot)

    It takes me to the dashboard, which I can access just fine, but on the left in the clickable list, if I click on “Comments”, instead of taking me to the comments page for that sub-site, it takes me back to the comments page for my main blog. Using the direct URL takes me back to the main blog, so it must be something wrong with the comments page itself. Checking my other sub-blogs, it looks like all of them have the same problem.

    .htaccess is:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>

    Plugins. πŸ™‚ Start checking.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Actually … wrong .htaccess for SubFolder MultiSite. Try this. If not, do the plugin dance πŸ˜‰

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>

    Seriously, I need to pay you to follow me around and proofread for me. πŸ˜›

    Thread Starter BitchSpot

    (@bitchspot)

    I just uploaded the new .htaccess, didn’t fix the problem. Then I deactivated all of my plugins. Still didn’t fix the problem. Any other ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    What does your sub-site look like from the front end? It shows everything okay with CSS etc?

    Also, did you have any caching plugins?

    Thread Starter BitchSpot

    (@bitchspot)

    Yes, it shows everything properly, so far as I can tell, the comments problem is the only thing that doesn’t work, but for both of my sub-sites, clicking on, or directly referencing the comments takes you back to the main site dashboard. I can post just fine to both sub-sites, everything works the way it’s supposed to.

    Just in case, I just loaded up another browser and tried it, just in case it was something in the cache that was causing a problem and had the same issue.

    All I can think of is plugin conflicts, which you said you tried. Anything in the mu-plugins folder?

    Thread Starter BitchSpot

    (@bitchspot)

    As far as plugins are concerned, I don’t have that many and I can’t imagine any of them would be causing problems as I’ve used almost all of them for years.

    add-to-any
    akismet
    all-in-one-seo-pack
    diamond-multisite-widgets
    intensedebate
    star-ratings-forwordpress
    stats
    wp-cumulus
    youtuber

    Anything on that list typically cause problems?

    diamond-multisite-widgets
    star-ratings-forwordpress
    stats
    wp-cumulus

    Any of these ones could, yes. Not specifically for the comments link, but I have seen each of these have issues.

    Thread Starter BitchSpot

    (@bitchspot)

    As I said, I’ve disabled all plugins and the problem persisted, I could try deleting them and see if that helped, I suppose…

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Cannot access comments in multisite’ is closed to new replies.