The Movable Type Knowledge Base

Full Entry Title In Individual File Name

Question

My file names only display the first fifteen characters of the entry title; I want the full title included in the file name.

Answer

Assuming you're not concerned about breaking inbound links, you can override the default file naming behavior by setting up an Archive File Template for your Individual Entry Archives (do this in Settings > Publishing : Archive Mapping1):

<MTEntryDate format="%Y/%m">/<MTEntryTitle dirify="1">.html

Save the change and rebuild your site, and this should create a file with the full entry title in the name.

Please note that when you change any element that modifies the file name like this, you will need to remove the old version of the file from your server manually.

See also Can I Control The Names Of My Files? for more information on changing file names.

1 In versions prior to 3.2, navigate to Weblog Configuration > Archive Files.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.