WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Padding the Post Numbers in Permalinks (3 posts)

  1. jzader
    Member
    Posted 8 years ago #

    In an effort to match the permalinks in my old MT installation, I am using the "Customize Permalink Structure" feature to write my URLs as archives/271.php.

    However, I also need to pad the numbers with zeros so that the post number is six digits long, e.g., archives/000271.php.

    How do I do this?

  2. Kafkaesqui

    Posted 8 years ago #

  3. jzader
    Member
    Posted 8 years ago #

    Like a charm. Thank you very much, Kafkaesqui.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags