dear everyone, i know that this post is not php but i dont know where to put it..

all that i need is to know how to change the link from
http://www.example.com?category1=aut...egory3=elkersh
to
www.example.com/automotives/cardeelers/elkersh

using htacess file