rewrite rule?

Discussion in 'Apache' started by bkflash, Nov 28, 2006.

  1. #1
    i have been looking on a few sites and they have likes like http://www.torrentspy.com/torrent/880645/ScarFace_The_World_is_Yours_DVD_PC_By_Delirium_Group_Cd1 where the title "ScarFace The World is Yours DVD PC By" has _'s put in the spacing. where as my webpage has somthing more like "ScarFace%20The%20World%20is%20Yours%20DVD%20PC%20By" printed in the url bar, how do i get my links to query out a _ instead of %20. I want it mainly because it looks better on the eyes.

    thanks brandon
     
    bkflash, Nov 28, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    In the script you have to edit it so it searches for spaces and changes them.
     
    Nintendo, Nov 29, 2006 IP
  3. bkflash

    bkflash Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    any clue on how to do that exactly in the php script? preg_match of some sort?
     
    bkflash, Nov 29, 2006 IP
  4. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #4
    Make a post on the php board.
     
    Nintendo, Nov 30, 2006 IP