I have a website which is basically a book (it is connected to a database). Users are able to read chapters for ex: http://examplebook.com/20. The problem I have is that I do not want to create folders for all the chapters in the book, but rather extract the chapter number from the url and just connect to database and display the book pages. If I do not have a folder for each chapter it just redirects and shows not found. I see some websites that have this feature so I am assuming it is possible. Any help would be greatly appreciated.
Kind Regards,
Chewy.
You mean something like this?
That being in the htaccess file in your document root.