Help - Search - Members - Calendar
Full Version: Article URLs
Movable Type Community Forum > Additional Resources > Tips and Tricks
bzprod
Hello,

First post here....

I am new to mt and would like to change my article urls from "00000568.html" to something like "this_is_the_title.html, php, shtml, etc." (any will do). I have seen many mt sites archiving articles like this and was wandering if this is a simple mod.

Please let me know what your experiences are in transforming this. Thanks!
libraryplanet
Read over More on Friendly URLs and Plugins Work in Archive File Templates. They should give you most everything you need.

I documented some of my own recent experiences in Faking the UWS with MT and Cool Keywords Don't Change.
LisaJill
In Weblog Config, Archiving, put this in individual:

CODE
<$MTEntryTitle dirify="1"$>.php


replace .php with whatever file extension you're using. =)

that'll make it use the title of your post as the permalink. dirify cleans it up so that its a valid file name.

can see it at my weblog, as that's what I'm using. =)
bzprod
Thanks everyone for the quick replies. Problem is now [easily] solved. Great information. smile.gif

-J.P.S
loopit
QUOTE (LisaJill @ Oct 18 2003, 01:07 AM)
In Weblog Config, Archiving, put this in individual:

CODE
<$MTEntryTitle dirify="1"$>.php


replace .php with whatever file extension you're using. =)

that'll make it use the title of your post as the permalink.  dirify cleans it up so that its a valid file name.

can see it at my weblog, as that's what I'm using. =)

I just tried doing this and added "<$MTEntryTitle dirify="1"$>.php" to the Individual textbox, then went and updated my first and only blog post and rebuilt all of my files, and the link is showing up in my post as "http://www.domain.com/archives/2003_10.php".

Can somebody tell me what I need to do to get it so it will look like "http://www.domain.com/archives/2003/10/18/title_of_my_post.php"?

Any help would be greatly appreciated.
kadyellebee
It sounds like you have your default Archive type may be set to Monthly rather than Individual. This can be changed in the Weblog Config under Preferences.

Kristine
loopit
That was the problem. Thanks a lot for the help!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.