I am currently working on a project and I would like to create group page for the web site like in facebook but I have some question about structuring group page.
Group page has 3 buttons; home.php, settings.php, members.php I don't wanna pass group id every time when I press button. So, I don't wanna call the links like this; home.php?id=1 or settings.php?id=1. Instead of this, I would like to do like facebook does;
https://www.facebook.com/groups/group_name/members/
I know that group_name part is .php file and by using .htaccess they got rid of the this part, for example: ?group=group_name.
But the question is, how can you show /members/ after a .php file? I hope you understood me. Thank you.