htaccess url rewriting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CPimp
    Confirmed User
    • Aug 2009
    • 2346

    #1

    htaccess url rewriting

    Hey everyone... need some help here if you can.

    Here's what I am trying to do. I have a site that I want to run through trade pulse. My links on there now are in the form of domain.com/video/name-name-name

    What I want to do, and I've gotten it halfway done, is push each one of these video links through trade pulse, and I have that part working. The problem is, I need the output URL in the browser to be the same as what I put into it when I click a link. So, here's what I have for the htaccess so far, and it works right. Just doesnt output the URL I desire.

    ## video rewrite
    RewriteRule ^video/(.*)/(.*)$ /tp/out.php?p=75&url=/watch.php?v=$1&mr_title=$2

    So, essentially what I need, is the htaccess to push the link thru TP then rewrite it as it was before it went thru trade pulse.

    Any ideas?
    three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.
  • CPimp
    Confirmed User
    • Aug 2009
    • 2346

    #2
    So, nobody knows how to work magic with htaccess?
    three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.

    Comment

    • 2012
      So Fucking What
      • Jul 2006
      • 17189

      #3
      u can't do that

      RewriteRule ^video/(.*)/(.*)$ /tp/out.php?p=75& [ url=/watch.php?v=$1&mr_title=$2 ]
      best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

      Comment

      Working...