I think we could handle this in htaccess thusly:
I inserted this code into my root .htaccess. When I visited mysite/category1 I was sent to a 404 that told me that /categories.php?cat=category1 could not be found on my server. Instead of the 404, of course, your categories.php would handle the request.
Therefore, the Redirect works.
Last edited by L a r r y; 07-29-2008 at 04:17 AM..
Reason: Rephrased the bit about the 404
|