Rewrite Help

Discussion in 'PHP' started by SNaRe, Jan 13, 2008.

  1. #1
    SNaRe, Jan 13, 2008 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just have 2 rewrite rules :
    RewriteRule ^paypal/
    and
    RewriteRule ^paypal
    That will do the trick, although this is a quick and dirty solution, I am sure there is a better one :)
     
    maiahost, Jan 13, 2008 IP
  3. Enom-Soft

    Enom-Soft Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule paypal/(.*) index.php?method=$1



    Put this To you .htaccess Files
     
    Enom-Soft, Jan 13, 2008 IP