Been trying to get some url rewriting done today to make some nice short urls. I have a question on this topic though.
I have set up a redirect to direct from location.php?id= to a nice url like /location/test but what I also want to do is if an old link on my site still points to location.php?id=something can I have this rewritten to the new format?
Currently what happens is this:
I enter address.com/location/test = works
I enter address.com/location.php?id=something works but I want this to move to address.com/location/test.
Is this possible or will url rewriting only work on the new form of the url?
Just cant get my head around this at the moment!
I have set up a redirect to direct from location.php?id= to a nice url like /location/test but what I also want to do is if an old link on my site still points to location.php?id=something can I have this rewritten to the new format?
Currently what happens is this:
I enter address.com/location/test = works
I enter address.com/location.php?id=something works but I want this to move to address.com/location/test.
Is this possible or will url rewriting only work on the new form of the url?
Just cant get my head around this at the moment!