Site icon Hip-Hop Website Design and Development

How you can Rewrite the URL

Right here I discussed the url

http://localhost/wp/2016/?category_name=cricket

now i have to rearrange the url like

http://localhost/wp/cricket/2016.

right here cricket is class identify and 2016 is yr.

Take away the ?Question String Variable not a price of the querystring within the wordpress URl.

I attempted

RewriteRule ^([0-9]{4})/?$/(.+)/([^/]+)/?$ /index.php/$1/?category_name=$2[QSA,L]

However Not Working