I've put this post in the Content Management section as I don't consider myself an absolute beginner anymore as I've got most of my RewriteRules to work. But for some strange reason I have one that just won't work for me.
I'm trying to make http://www.domain.ext/Admin/content_change_status/24/1/ redirect internally to http://www.domain.ext/admin.php?op=cont ... 4&active=1 where '24' is a numeric variable and '1' is a variable of either '0' or '1'. Using the following RewriteRule:
RewriteRule ^Admin/content_change_status/([0-9]+)/([0-9]+)/$ /admin\.php\?op=content_change_status&id=$1&active=$2 [L]
No matter what I seem to do it only wants to either seem to loop or give me a 404.
Interestingly I can Rewrite http://www.domain.ext/Admin/content_delete/24/ to http://www.domain.ext/admin.php?op=content_delete&id=24 using:
RewriteRule ^Admin/content_delete/([0-9]+)/$ /admin\.php\?op=content_delete&id=$1 [L]
It's almost as if it doesn't want me to use two variables. Can anyone help me with this?!