Let website link is www.abc.com I have 3 PHP Files.
- index.php
- profile.php
- group.php
My Current URL is -
- abc.com/directory/index.php
- abc.com/directory/profile.php?name=piash
- abc.com/directory/group.php?name=CSE
I want to convert it to-
- abc.com/home
- abc.com/piash or abc.com/abrar (piash and abrar is GET parameter to profile.php file)
- abc.com/group/CSE (CSE is the GET parameter to group.php)
I am using RAW PHP.
Is it possible?
If possible, how and where to put the .htaccess file?
In the root (abc.com) or in the folder (abc.com/directory) ?
Can anyone help me please?
Thanks in advance.