php - Is there a universal algorithm for permalinks? (human-readable) -


i'm trying make blog script scratch (php) , import posts wordpress. need use exact same permalink algorithm wordpress because want keep urls same. (and in case need go wordpress)

the custom structure /%postname%/. noticed special characters (such * - /) , unicode characters ignored, , if it's duplicate, number automatically added @ end. need know?

thanks.

the wordpress function need @ sanitize_title_with_dashes in wp-includes/formatting.php.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -