I created an admin panel for a blog page, which allows the client to create blogs. The client can enter the title , body , tags , date , header image etc. using PHP and MySQL
For example , title = My First Blog
I want the generated blog page to have a url that is basically the title. So the url for the page in the example above would be : mysite/My-First-Page
Can someone tell me a good way of doing this? And the urls must be pretty , the.php shouldn't show up in the address bar