I am using PHP script to set up a website which sells book.
Let say my website is hosted at www.sell-book-example.com
.
I want to allow accessing to a book detail page by navigating to www.sell-book-example.com/book/2121.html
where 2121 is the book id.
Keep in mind that book/2121.html
should not exist in the document root of the web server.
As in I do not want to pre-create many book detail pages in a book folder.
I have checked some other website which are able to do that with PHP.
If anyone can provide me some sample or link, that would be great. Thank you.