php - htaccess URL redirect -
i redirect url(a) url(b). when url(b) loading, need run code , might redirect url(c).
example :- paypal notification url, need run code in background when user browses specific type urls.
any ideas on how this?
you can redirect b redirect 301 b
, , in b's script don't send headers until have redirect (or don't). if have redirect, send header("location: " + $c)
, exit()
.
Comments
Post a Comment