I don't know why but this htaccess item doesn't work for me.
I have something like this after update user profile
public/user_profile/show_user.html?id=4 and I want to have
RewriteRule ^show_user.html/(\d+)$ show_user.php?id=$1 [NC,L]
After update user -> redirect to user detail
redirect_to(url_for('/user_profile/show_user.html/' . $id));