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
Post a Comment