WordPress.org

Ready to get started?Download WordPress

Forums

Shorter Permalinks (4 posts)

  1. KoldPhusion
    Member
    Posted 8 years ago #

    In my permalink structure I use %postname% to use titles for file names. The problem is that some of the titles are really long, therefore the file names are also very long.
    Is there any way to keep these long titles but automatically generate a shortened version of the title for the file name?

  2. Karel
    Member
    Posted 8 years ago #

    Yes, edit the post slug (somewhere under the big edit field). Or no, as this isn't automatic.

    Regards,

    Karel

  3. Yngwin
    Member
    Posted 8 years ago #

    Well, you could edit the function that generates the slugs and make it chop off at a certain length...

  4. KoldPhusion
    Member
    Posted 8 years ago #

    Thanks for the responses.
    Yngwin, can I easily edit the function that generates the slugs, or is that getting into dangerous territory?
    Do you know where this function resides?

Topic Closed

This topic has been closed to new replies.

About this Topic