.htaccess help - Changing target to dispatch

Discussion in 'Apache' started by brandonvd, May 31, 2011.

  1. #1
    Well, I've been struggling with this for a few hours now and have also contacted some friends, but I still can't figure out how to redirect some of my pages.

    I'm trying to redirect:

    /index.php?target=categories&category_id=3
    Code (markup):
    To:

    /index.php?dispatch=categories.view&category_id=3
    Code (markup):
    I'm using:

    RedirectPermanent /index.php?target=categories&category_id=3 /index.php?dispatch=categories.view&category_id=3
    Code (markup):
    What the heck am I doing wrong? If this isn't the correct way to accomplish this, what would be better?

    I'd really appreciate any help.

    Thank you,

    Brandon
     
    brandonvd, May 31, 2011 IP