Results 1 to 3 of 3

301 redirect user profiles from username to userid

This is a discussion on 301 redirect user profiles from username to userid within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello, Due to lot of improper registrations been done on our forums using variety of languages and special characters we ...

  1. #1
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1

    301 redirect user profiles from username to userid

    Hello,
    Due to lot of improper registrations been done on our forums using variety of languages and special characters we have changed our member profile urls from following

    www.mydomain.com/members/userNAME.php
    to
    www.mydomain.com/members/userID.php

    Now, it was very dissappointing to find a huge 404 not found pages generated in WebMaster Tools.
    All the username.php profiles were not 301 or 301 (whichever is better) re-directed.

    Can you please give us a fix for same ?

    I am using vbseo 3.2

    Thank You.
    | F | U | T | U | R | E |

  2. #2
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Liked
    0 times
    Blog Entries
    12
    Related: Using userid vs username + small question

    The solution I posted would probably work only if theres no user with a 'username' of u[some number]
    like... u1234. Otherwise, that user's profile URL redirection would become an infinite loop.

  3. #3
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    We have several active users with those usernames
    like u1, u0234, uu234234, username, user1 etc.

    Do we have a fix for this problem ?
    | F | U | T | U | R | E |

Similar Threads

  1. Using userid vs username + small question
    By Hiiragi in forum URL Rewrite Settings
    Replies: 12
    Last Post: 08-02-2009, 11:00 PM
  2. 301 redirect user profiles
    By Fred. in forum URL Rewrite Settings
    Replies: 3
    Last Post: 03-21-2009, 01:53 PM
  3. subdomain username profiles
    By special K in forum General Discussion
    Replies: 2
    Last Post: 11-21-2006, 04:18 PM
  4. username.domain.com > domain.com?id=userid
    By voteforbird in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 09-27-2006, 02:56 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
  •