Rewrite urls php/mysql page with htaccess apache

one text

Solution:

This will work:

RewriteEngine on
RewriteRule ^health-institution-([a-z]+)-([a-z]+)/?$ search.php?city=$2&speciality=$1 [NC,L]

Note: The NC (No Case) at the end makes the rurl case insensitive.

Source