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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -