how to write a .htacess 302 redirect for specific pages

Discussion in 'Apache' started by datrader, Oct 6, 2011.

  1. #1
    hi all,

    here's a newbie question:
    i'd like to do 302 redirection for specific pages (if visitor arrives to page A he is 302'd to page B):

    for example these pages:
    if a visitor arrives to this page:
    
    http://domain.com/landsys/profit_black/en/
    or
    http://www.domain.com/landsys/profit_black/en/
    he is 302'd to this page:
    
    http://www.domain.com/en/inner.iframe?id=profit-v1
    Code (markup):
    via .htacess.


    thanks guys!
     
    datrader, Oct 6, 2011 IP
  2. chtdatweb

    chtdatweb Well-Known Member

    Messages:
    1,473
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    160