Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blog permalinks suddenly start resulting in 404 errors

  • @waveslider

    Participant

    Hello everyone,

    I have a BuddyPress installation here at this URL: http://www.pmasocial.com.

    Just today, one of our blogs, which was working just fine before, now seems to have permalink issues. When you click to visit any of the posts, you are redirected to the 404 page.

    The affected blog is here: http://fogsforthefuture.pmasocial.com/

    Just prior to the first time I noticed the problem, I changed “comment moderation” and “comment registration” both to 1 in the blog settings.

    I checked the .htaccess file, and it seems to be intact. I’m totally at a loss here – any help would be much appreciated!

    Thanks in advance.

    Tom

Viewing 7 replies - 1 through 7 (of 7 total)
  • @windhamdavid

    Participant

    ok.. it’s not the www and it’s only happening on that one particular subdomain blog?

    @waveslider

    Participant

    Yeah, no www. was included in the link, and it only happens on that one particular subdomain blog (although it is our only subdomain blog). And it definitely was not happening before today.

    @windhamdavid

    Participant

    what version of MU? and no other changes were made aside from the comments?

    and can you set up another sub domain to test?

    @waveslider

    Participant

    It is version 2.9.1.1 of MU.

    That’s a good call – I’ll try setting up a test subdomain blog and see if I encounter the same problem.

    @waveslider

    Participant

    Ok, I created a test subdomain blog, and it worked perfectly – didn’t have any of the issues the other one did.

    I’d really like to investigate this to find out what went wrong, so I can hopefully prevent it from happening again. But for now, in the interest of saving time, my boss just asked me to delete the malfunctioning blog and recreate it.

    @bowromir

    Participant

    maybe something funky occured in the settings >> general section and a wrong site url was filled in.. this causes bad permalinks.. you could also try to go to settings >> permalinks and mess around a bit.. weird problem :)

    @waveslider

    Participant

    It was strange. I think I’ve fixed it now, but the disconcerting thing is that I’m not sure why what I did fixed it.

    Here’s what I did:

    Initially, I just deleted the broken subdomain blog and recreated it with the same title and subdomain as before (after I confirmed that my test subdomain blog worked fine). This failed however; the permalinks were still redirecting to the 404 page.

    Then, I checked the database for artefacts after deleting the broken blog. In table wp_bp_user_blogs, there were two records remaining that contained the blog_id of the deleted blog. So I backed up the table and then deleted those entries.

    Afterwards, I recreated the blog a second time. Now it seems to be working perfectly. But I don’t know why :/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blog permalinks suddenly start resulting in 404 errors’ is closed to new replies.
Skip to toolbar