its very simple job but searching a lot. so i wanna make it simple for you if you dont know how to enable it. first we need to go the xampp\apache\conf directory path. open the file httpd.conf
in the file need to find out the string LoadModule rewrite_module modules/mod_rewrite.so
make it un comment first.