Skip to:
Content
Pages
Categories
Search
Top
Bottom

mysite.com/user VS mysite.com/members/user


  • enlightenmental1
    Participant

    @enlightenmental1

    I can’t be the only one who is pondering a way to view member profiles by visiting mysite.com/user VS mysite.com/members/user

    anybody got any brainstorming ideas?

    maybe a mod rewrite in the .htaccess file that rewrites /members/user to /user ?

    any thoughts? know where i should start looking? know this isn’t possible and want to tell me to give up?

    thanks

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

  • enlightenmental1
    Participant

    @enlightenmental1

    ok… after reading a bunch on some forums… this is possible with mod rewrite

    (alot of cool things could be done with mod rewrite in .htaccess)

    for example,

    user types in

    username.domain.com

    and the user gets served

    domain.com/members/username

    or user types in

    domain.com/username

    and the user gets served

    domain.com/members/username

    so either way the domain gets entered, the user will still get served the same page

    any mod rewrite gurus out there?

    I envision a BP Admin option to select how member pages are viewed,

    which would then add a condition to the mod rerwite in .htaccess

    like choosing permalink structure in regular wordpress

    this would be a great addition to BP


    enlightenmental1
    Participant

    @enlightenmental1

    nobody? nothin?


    hyrxx
    Participant

    @hyrxx

    i kinda know how to do this, i am planning on switching the members profiles to http://username.hyrxx.com and the blogs to http://username.hyrxx.com/blogs /comments /photos etc

    so it brings more of a focus onto the profile than the blog

    because buddypress is about the profiles right?

    ill let you know how i get on


    enlightenmental1
    Participant

    @enlightenmental1

    really hoping this will be possible….


    enlightenmental1
    Participant

    @enlightenmental1

    #additional rewrite rules for members

    rewriteCond %{REQUEST_URI} ^members [NC]

    rewriteRule ^members/(.*)$ http://www.buzzwe.com/admin-$1 [R=301,L]

    rewriteCond %{REQUEST_URI}! (.*)admin

    rewriteRule ^members-(.*)$ /admin/$1 [L]

    ugh…. not working

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘mysite.com/user VS mysite.com/members/user’ is closed to new replies.
Skip to toolbar