View Single Post
Old 04-06-2010, 01:00 PM  
CPimp
Confirmed User
 
CPimp's Avatar
 
Industry Role:
Join Date: Aug 2009
Posts: 2,346
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote