I Need to rewrite URL only when the URL is string and integer
For Example :
http://domain.com/abc12
OR
http://domain.com/123
I Try to use this Rule
RewriteRule ([A-Za-z0-9]) file.php?key=$1 [L,QSA]
but this rewrite files like .html and .php ..etc
You need to add bounds to the regular expression, specifically the
^(beginning of match) and the$(end of match).