Iam trying to to redirect my page from
from http://domain.com/article.php?id=23232 to http://domain.com/article/23232
am using thi
You cant match query string using RedirectMatch. Use mod_rewrite rules instead:
RedirectMatch
mod_rewrite
RewriteCond %{QUERY_STRING} ^id=([^&]*) RewriteRule ^article\.php$ http://domain.com/article/%1? [L,R=301,NC]