I'm trying to create a rewrite rule to remove file extention and action from it.
For example this url:
should be rewritten as:
I am trying following:
RewriteRule ^password/([a-zA-Z]+)/?$ /password.php?action=$1 [L,QSA]
It does not seem to work.
Also instead of specifying password.php file, how can i generalize it for every file? For example