Help with htaccess

Discussion in 'Programming' started by Rockstr27, Jan 28, 2010.

  1. #1
    Can someone help me with a redirect with a URL that has a $ in it? A site I am working on, one of their old URLs has a $ in it and I am trying to figure out how to redirect it since it has a $ in it:

    http://www.domain.com/junkyurl$inmiddle/

    needs to redirect to:

    http://www.domain.com/clean-seo-friendly/

    Any help would be appreciated!
     
    Rockstr27, Jan 28, 2010 IP
  2. Rockstr27

    Rockstr27 Well-Known Member

    Messages:
    1,052
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    115
    #2
    ... never mind ... did not realize it was as simple as escaping the $ ... \$
    Thank you!
     
    Rockstr27, Jan 28, 2010 IP