Let's suppose i have a website (example.com/index.php) which displays a list of products. Now if i want to open and see full details about a specific product in its own page, i would normally create another directory like example.com/product/index.php?id=the-id-of-some-product How can i display a cetain product with the following url example.com/index.php?id=the-id-of-some-product What i want to create in the end is the following url: example.com/the-name-of-some-product
i tried to display details about a certain product without creating extra folders. So instead of this example.com/product/index.php?id=the-id-of-some-product I wanted this example.com/index.php?id=the-id-of-some-product