Buying i need to set a "htaccess redirect 301" for one address to another.payment 6$

Discussion in 'Programming' started by someone100, May 18, 2010.

  1. #1
    from ?p=48 to fsfsfs.html .
    please PM me .

    thanks.
     
    someone100, May 18, 2010 IP
  2. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hi,

    Please try this:
    
    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^p=48$ [NC]
    RewriteCond %{REQUEST_FILENAME} (index\.php)?
    RewriteRule ^.*$ /fsfsfs.html? [R=301,L]
    
    Code (markup):
    I've tested it and it works fine on my localhost. If you have any questions, please PM me.
    Regards :)
     
    koko5, May 18, 2010 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    it's actually in another language (hebrew)
     
    gapz101, May 18, 2010 IP
  4. someone100

    someone100 Peon

    Messages:
    171
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    it was done by Bohra. it was done by php but this is o.k. for me.
     
    someone100, May 18, 2010 IP