Results 1 to 5 of 5

Thread: .htaccess Help

  1. #1
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default .htaccess Help

    Hey.

    I need to make a system so that when someone goes to http://www.mini-i.fm/referral/<user id here> it will redirect them to http://www.mini-i.fm/users/register.php?referral=<user id the user used before>

    But im rubbish with .htaccess so I don't know how to set it up!

    Currently I have:

    Code:
    RedirectMatch permanent ^/referral/<DONT KNOW WHAT GOES HERE>$ http://www.mini-i.fm/users/register.php?referral=<DONT KNOW WHAT GOES HERE>
    If anyone can help, ill give them a Badge, Mini-I Club and 800 Credits on my site's user system

    Thanks,
    Simon

  2. #2
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    Why not just make a redirector using cPanel redirector thing?

  3. #3
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    As it wont redirect the user keeping the ID they specified.

  4. #4
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    mmm, I wrote this... It may help

    http://www.habboxforum.com/showthread.php?t=312449

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Gah, how annoying is that. I tried mod_rewrite before, never worked. Tried it now and it worked!

    +rep for your help, thread closed.

Posting Permissions

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