Hi,
I'm struggling with mod_rewrite. I need it to rewrite:
http://www.example.com/C/V
to:
http://www.example.com/?category=C&video=V
So far I have these two rules:
RewriteRule ^([^/\.]+)/?$ /index.html?category=$1 [L]
RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /index.html?category=$1&video=$2 [L]
but it doesn't seem to work. I'm not receiving any parameters through in my js on the other side. It also behaves differently depending on whether there is a slash on the end or not. Does anyone have more experience with this than me? (everyone probably : ))
[edited by: jdMorgan at 3:24 pm (utc) on May 20, 2010]
[edit reason] example.com [/edit]