Site icon Hip-Hop Website Design and Development

.htaccess RewriteRule to incorporate put up sort and taxonomy

I am making an attempt to rewrite this url www.area.com/gallery/?college=birmingham to an search engine marketing pleasant one like this www.area.com/uni/birmingham/gallery

the (?college=birmingham) symbolize the taxonomy
and gallery is the put up sort. For the time being this url (www.area.com/gallery/?college=birmingham) works advantageous, it shows the suitable posts, simply have not had any success in rewriting it to the one above

I’ve tried doing this (which ought to work):

RewriteEngine On
RewriteRule ^uni/([0-9A-Za-z_-]+)/(.+)$ /$2?college=$1 [QSA,NC,L,R=302]


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /college students/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /college students/index.php [L]


</IfModule>

can anybody please level me in the suitable path or present me what am doing incorrect?