Conditional Redirect Help Needed

Discussion in 'Apache' started by tehmina11, Jul 13, 2009.

  1. #1
    Hi Senior Members,

    Can someone help me to redirect the traffic from

    http://www.acnenaturalremedies.com
    Code (markup):
    to

    http://www.acnenaturalremedies.com/Acne-Scars.html
    Code (markup):
    when the user clicks the link in the following article

    http://ezinearticles.com/?Acne-Scar-Laser-Treatment---Do-Not-Leave-a-Single-Loop-Hole&id=2277810
    Code (markup):
    I have written this in the .htaccess

    This did'nt worked

    I changed the Rewrite condition to
    this didn;t worked

    I again changed the .htaccess to

    still didn't worked

    I want when I click the URL http://www.acnenatural remedies in the resource box of the following article

    http://ezinearticles.com/?Acne-Scar-Laser-Treatment---Do-Not-Leave-a-Single-Loop-Hole&id=2277810


    this page opens

    http://www.acnenaturalremedies.com/Acne-Scars.html

    (This article is on the top of the most Viewed articles in 90 days in Acne Category and after 20 days
    it will be removed from the list and want to redirect all the traffic to this
    URL http://www.acnenaturalremedies.com/Acne-Scars.html)

    I finally changed to the .htaccess to

    this code is working but is giving a Redirect loop error.

    I am using hosting from bluehost

    Hope some .htaccess guru helps in solving my problem
     
    tehmina11, Jul 13, 2009 IP
  2. tehmina11

    tehmina11 Peon

    Messages:
    311
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can some .htaccess guru help me in solving this issue.


    Nintendos help needed.


    Regards
     
    tehmina11, Jul 18, 2009 IP