Help - Search - Members - Calendar
Full Version: Individual & Daily Archive Issue
Movable Type Community Forum > Using Movable Type > Entries and Archives
plexus
I'm sorry if this question has been asked many times but I have tried searching through the most of the threads but couldn't find an answer to my query.

I have installed MT 3.14 and previously, I was using default archive preference which is of type Individual. Am I right to assume that if the archive preference is of type Individual, when I point over to the posted date of a particular entry in my main index, the URL will look something as follows?
CODE
http://somesite.com/archives/YY/MM/entry_title.html

Where YY refers to the year and MM refers to the particular month.

So, my problem is, I have now changed to Daily archives. How can I make the links of the posted date, comments and trackback as follows:
CODE
http://somesite.com/archives/YY/MM/DD/full_entry_title.html

Currently, I get an error when trying to access the comments link because I have changed to Daily archive, rebuilt my entire site but it doesn't reflect like what I want as shown above.

My comments link is like this at the moment:
CODE
http://somesite.com/archives/YY/MM/entry_title.html#comments


Any ideas what should I change in my main template or did I not configured properly?

Thanks
jblayloc
Would you provide a link to your site please?
plexus
Ah. It's ok jblayloc, I managed to get what I wanted.

Here's how it can be done:

Login to the movabletype publishing system, under Weblog Config -> Archiving. It is suppose to be of type Individual Archive and not Daily as I have mistaken. Under the Archive File Template, specify the following
CODE
<$MTArchiveDate format="%Y/%m/%d/"$><$MTEntryTitle dirify="1"$>.html

In this way, the link will appear as what I was initially looking for:
CODE
http://localhost/archives/2004/12/31/full_entry_title.php

Thanks anyway smile.gif
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.