Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • Avatar of Enlightenmental1
    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)
  • Avatar of Enlightenmental1
    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

    Avatar of Enlightenmental1
    enlightenmental1
    Participant

    @enlightenmental1

    nobody? nothin?

    Avatar of Hyrxx
    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

    Avatar of Enlightenmental1
    enlightenmental1
    Participant

    @enlightenmental1

    really hoping this will be possible….

    Avatar of Enlightenmental1
    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)

You must be logged in to reply to this topic.