prevent htaccess rewriting of ONE specific link?

Discussion in 'Programming' started by jl255, May 5, 2009.

  1. #1
    Ok, i have a general SEO rewriting script that changes all my site's URL to SEO-friendly URLs.

    However, i need to run one script using an authentication key passed via the URL. But with my present htaccess, this URL is also rewritten to SEO-friendly and as such, my authentication fails as the parameters in the URL have been rewritten.

    So for example, i need final output to the script to be like this

    http://11111.com=&nn=jl255&pu=http%3A%2F%2F11111.com%2Fmember.php%3Fu%3D791&au=http%3A%2F%2F11111.com%2Fimage.php%3Fu%3D791&hmac=60bf691b6e317b9090823496bbe0f960&cu=
    Code (markup):
    but the rewritten URL becomes

    http://11111.com=&nn=jl255&pu=http%3A%2F%2F11111.com%2Fprofile%2Fjl255&au=http%3A%2F%2F11111.com%2Favatars%Fjl255.gif&hmac=60bf691b6e317b9090823496bbe0f960&cu=
    Code (markup):
    as you may have guessed ../member.php gets rewritten to ../profile and ../image.php gets rewritten to ../avatars

    so is there a way i can edit the htaccess such that ONLY THIS SPECIFIC LINK does NOT get rewritten?

    Really appreciate any help!! Tks.
     
    jl255, May 5, 2009 IP
  2. jl255

    jl255 Well-Known Member

    Messages:
    2,762
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    185
    #2
    no response, does it mean it is not possible to isolate 1 link?
     
    jl255, May 6, 2009 IP