I'm trying to make a blog script from scratch (PHP) and import posts from Wordpress. I need to use the exact same permalink algorithm as Wordpress because I want to keep the URLs same. (and just in case I need to go back to Wordpress)
The custom structure is /%postname%/. I noticed that special characters (such as * - /) and unicode characters are ignored, and if it's a duplicate, a number is automatically added at the end. Is that all I need to know?
Thanks.