Results 1 to 5 of 5

How do I integrate this with the userpage hack?

This is a discussion on How do I integrate this with the userpage hack? within the General Discussion forums, part of the vBSEO SEO Plugin category; In my old htaccess file, I had: RewriteRule ^$ index.php RewriteRule (^[-_A-Za-z0-9\ ]*$) userpage.php?do=main&username=$1 This meant that urls like http://www.eaforums.com/forums/amykhar ...

  1. #1
    Senior Member
    Join Date
    Aug 2005
    Posts
    124
    Liked
    0 times

    How do I integrate this with the userpage hack?

    In my old htaccess file, I had:

    RewriteRule ^$ index.php

    RewriteRule (^[-_A-Za-z0-9\ ]*$) userpage.php?do=main&username=$1

    This meant that urls like http://www.eaforums.com/forums/amykhar

    went to
    http://www.eaforums.com/forums/userp...ername=amykhar

    If I put in that url now, I get:
    Invalid Forum specified. If you followed a valid link, please notify the administrator

    I imagine I can change my urls to point to http://www.eaforums.com/userpages/amykhar

    or something similar. But, am looking for thoughts on the best option to pursue.

    So far, I'm amazed by the seo mod. Of course, it's only been installed for 5 minutes.

    Amy

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hi Amy,

    vBSEO is trying to parse ANY url request and treats these links like a mistyped forum link.
    And yes, a good option will be to switch your "Custom Userpages" hack to use "userpages/amykhar" like URLs (if possible). And to add the following rewrite rule:
    RewriteRule ^userpages/(^[-_A-Za-z0-9\ ]*$) userpage.php?do=main&username=$1 [L]
    BEFORE vBSEO's rewrite rules.

  3. #3
    Senior Member
    Join Date
    Aug 2005
    Posts
    124
    Liked
    0 times
    Thank you. I'll give it a shot later

  4. #4
    Member
    Join Date
    Oct 2005
    Posts
    49
    Liked
    0 times
    amy, i am unable to get the rewrites to replace the user# with the user name....


    i did get vbseo to rewrite the user number into .html ending, but i'd like the user name instead....

    help!

    thanks,

    drex
    Admin, X5world.com
    www.x5world.com

  5. #5
    Senior Member
    Join Date
    Aug 2005
    Posts
    124
    Liked
    0 times
    Handled this at vb.org where he originally posted. He misunderstood how it was supposed to work.
    Premium Support for my VBulletin Mods

Similar Threads

  1. vBSEO and NNTP hack
    By Domenico in forum General Discussion
    Replies: 4
    Last Post: 01-31-2007, 08:34 PM
  2. Side menu hack.. is it bad for SEO?
    By Toocool in forum General Discussion
    Replies: 2
    Last Post: 02-13-2006, 07: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
  •