I am working on a simple CMS now, i have made post-new-page form, if i click “submit” button, the content will be saved into the database, by the same time i want the PHP script automatically create new folder in my root folder (i’m not sure whether it’s correct to create inside my root folder?)
It does not only convert chars like `ö` to `o` but also `北亰` to `Bei Jing`, according to the readme (slugified that would be `bei-jing`)… You never know, right? ;)
You then need to redirect requests to a common landing page (probably just `/index.php`, using .htaccess), read out the slug and query that page from a database (in which you have an indexed ‘unique, which is an index’ column with the slug to make queries fast).
The `html` extension in your example doesn’t mean there is an actual html file.