Results 1 to 10 of 10

User gets redirected to wrong profile page

This is a discussion on User gets redirected to wrong profile page within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi everybody, I allow my users to have non-standard characters in their username. I have 2 users on my forum ...

  1. #1
    Member
    Real Name
    Jeffrey Espejo
    Join Date
    Jun 2007
    Posts
    77
    Liked
    0 times

    User gets redirected to wrong profile page

    Hi everybody, I allow my users to have non-standard characters in their username. I have 2 users on my forum with similar names one is Blackout_10 and the other is Blackout* when Blackout* goes to his profile page it automatically redirects him to blackout_10. Am using the vBSEO 3.2.0 and vB 3.7.2 PL1

    Exact post from user:
    Quote Originally Posted by Blackout*
    When i go to my public profile, or even when others go to my profile, i have a problem with it switching to Blackout_10's profile. It displays completley different information and specs as to what i have and do and where i live. It's not a major issue just a pet peeve sort of thing. So if any admins could solve this problem for me that would be greatly appreciated!
    BTW the url turns into members/blackout-.html for both users.

  2. #2
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Liked
    0 times
    Blog Entries
    12
    One solution to this problem is to include user ID's in the member profile URLs.

    Current Setup : /members/username.html

    Suggested : /members/userid-username.html

  3. #3
    Member
    Real Name
    Jeffrey Espejo
    Join Date
    Jun 2007
    Posts
    77
    Liked
    0 times
    Thanks, but is that the only fix? I've had the same setup since 3.7 came out so it may affect other users (links etc)

  4. #4
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    Quote Originally Posted by tigurius View Post
    Thanks, but is that the only fix? I've had the same setup since 3.7 came out so it may affect other users (links etc)
    No need to worry, the UserID is unique for every user, so their profiles will have unique paths if you add the user_id variable to the rewrite.

  5. #5
    Member WiseOne's Avatar
    Real Name
    WiseOne
    Join Date
    Jun 2006
    Location
    Big Sandy, TN
    Posts
    96
    Liked
    0 times
    I had the same thing and changed it to:

    /members/1-wiseone/
    and no problems now. Seems you DO have to have the User_Id in there and all is fine...
    Political Forum | Truck Forum

    __________________________________

  6. #6
    Member
    Real Name
    Jeffrey Espejo
    Join Date
    Jun 2007
    Posts
    77
    Liked
    0 times
    Thanks guys i'll try it later when I'm not at work.

  7. #7
    Member odin's Avatar
    Real Name
    Murat Çelebi
    Join Date
    Sep 2006
    Location
    Bursa
    Posts
    46
    Liked
    0 times
    i have got the same problem too and wondering how can I change this ??

  8. #8
    Member WiseOne's Avatar
    Real Name
    WiseOne
    Join Date
    Jun 2006
    Location
    Big Sandy, TN
    Posts
    96
    Liked
    0 times
    Go into your vbSEO CP, expand the URL rewrite settings and find the member name URL rewrite setting and make SURE you have the USER_ID in the URL. I fixed mine by setting it to:

    /members/[user-id]-[username]/

    The ID (member number) must be in there or it seems to get confused at times when member names are close, etc...so now mine show:

    /members/1-wiseone/
    Political Forum | Truck Forum

    __________________________________

  9. #9
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    pretty much for ALL settings, if you allow more than [a-z0-9\s] [NC] for character entry, you should include the ID.


    for those non regex friendly, that's alpha numeric charcters and space, non-case sensitive.

  10. #10
    Member
    Real Name
    Jeffrey Espejo
    Join Date
    Jun 2007
    Posts
    77
    Liked
    0 times
    I did the fix exactly how wiseone said. Custom setting.

Similar Threads

  1. Replies: 5
    Last Post: 03-02-2006, 06:16 PM
  2. Replies: 3
    Last Post: 12-02-2005, 07:19 PM
  3. Replies: 11
    Last Post: 11-17-2005, 10:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •