Rewrite from static to dynamic

Discussion in 'Apache' started by glasglow, Jun 29, 2011.

  1. #1
    I can understand how to use redirect and do a.php to b.php or domains or something completely different. However when I do the rule like this:

    /directory/index.php /directory/index.php?c=1

    It get's stuck I think because it's seeing it as containing the same variables. Does anyone know how I can make that work where I am adding a dynamic variable with the rewrite?
     
    Last edited: Jun 29, 2011
    glasglow, Jun 29, 2011 IP