Right then, I've been playing with mod_rewrite on Apache2. So far, I've managed to convert the simple, nice URLs into the PHP URLs like so:
However, it would also be nice if I could do that in reverse, with the URL changing in the browser. I tried this:Code:RewriteRule ^archive/([0-9]+)/([0-9]+)/$ archive.php?m=$2&y=$1
But it doesn't seem to do anything. Anybody got any ideas?Code:RewriteRule ^archive\.php?m=([0-9]+)&y=([0-9]+)$ archive/$1/$2/ [R]
Thanks in advance
Mike.


LinkBack URL
About LinkBacks
Reply With Quote
