Support » Networking WordPress » Buddypress on Subdomain htaccess

Viewing 9 replies - 1 through 9 (of 9 total)
  • benbakelaar

    (@benbakelaar)

    Does any webpage load? Or is there an error? Did you check the PHP erroor
    and Apache access logs?

    Paul Barthmaier

    (@pbarthmaier)

    Contributor Day Volunteer

    Hi Ben,

    Thanks for your questions. I’ve actually had to delete the htaccess rules above because they were causing infinite looping. As far as where I am now, well, everything appears normal, but the Activity Stream doesn’t work, it just rewrites to the home page, and the Members are a bit messed up, ie the Members page works but clicking on any individual profiles takes me to the home page. So for now, I’m flummoxed. I do know that the Activity Stream that I had on the main blog has its links hardcoded in the database, so I’ll need to fix that by hand. Other than that, who knows!?!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Huh… That looks like it might be a conflict.

    RedirectMatch 301 ^/members/(.*)$ http://community.qiaccess.com/members/$1

    That would make an endless redirect, since it’s always going /members/ points to /members/ points to /members/…

    Paul Barthmaier

    (@pbarthmaier)

    Contributor Day Volunteer

    Yeah, thanks, you are correct. It did cause and endless redirect and I deleted those lines anyway. The Activity Stream and the Members profiles are the things giving me fits. Groups and forums are fine.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    They’re all going to have that problem. Notice how they all have the same pattern?

    You just can’t do this:

    RedirectMatch 301 ^/members/(.*)$ http://community.qiaccess.com/members/$1
    RedirectMatch 301 ^/groups/(.*)$ http://community.qiaccess.com/groups/$1
    RedirectMatch 301 ^/blogs/(.*)$ http://community.qiaccess.com/blogs/$1
    RedirectMatch 301 ^/forums/(.*)$ http://community.qiaccess.com/forums/$1

    What’s the REAL starting URL? is it http://community.qiaccess.com/members/ or http://qiaccess.com/members/ ? We can do someting with that 🙂

    Paul Barthmaier

    (@pbarthmaier)

    Contributor Day Volunteer

    If in Buddypress, the pages are set to

    Activity Streams > Activity
    Site Tracking > Sites
    Discussion Forums > Forums
    User Groups > Groups
    Members > QiMembers
    Register > Register
    Activate > Activate

    then what was

    hxxp://qiaccess.com/activity
    hxxp://qiaccess.com/sites
    hxxp://qiaccess.com/forums
    etc

    would now be

    hxxp://community.qiaccess.com/activity
    hxxp://community.qiaccess.com/sites
    hxxp://community.qiaccess.com/forums
    etc

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Okay 😀 Not insurmountable, but it will be a PITA.

    In http://halfelf.org/2012/htaccess-anarchy/ I explain how you can put a check for ‘If the domain is qiaccess.com and the folder is activity, then go to …’

    You’ll want to use that method 🙂

    Paul Barthmaier

    (@pbarthmaier)

    Contributor Day Volunteer

    Thanks for the link. What a great and informative article! I think there are some issues, still, with Buddypress. As it turns out, it doesn’t seem I need the rewrite rules, but Activity and QiMembers have their issues. I think this is related to hardcoding in the database by Buddypress. You don’t happen to have an article on exporting/importing to alter links in the database, do you? Either way, you’re a star!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    I do know how but… BuddyPress doesn’t hardcore it into the DB. If you go into the BP settings, you can change the members and so n to different pages.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Buddypress on Subdomain htaccess’ is closed to new replies.