vidan
Mar 29 2004, 05:53 PM
hello!
i've seen many blogs, some were using archiving like this
for example--> www.someblog.com/archive/2004/03/title_of_the_entries.php
i want to make that, if i make new entry (and current date is 29 03 - 2004, when it goes to rebuild, it will display on archive/2004/03/title_of_the_entry.php)
how to do that?
anyone know
LisaJill
Mar 29 2004, 06:02 PM
CODE
<$MTArchiveDate format="%Y/%m"$>/<$MTEntryTitle dirify"1"$>.php
put that in weblog config -> archiving -> individual template file name.
does that help?
vidan
Mar 29 2004, 06:23 PM
An error occurred:
Building entry 'ssss' failed: Build error in template 'Date-Based Archive': Error in tag: The archive type specified in MTArchiveList ('Daily') is not one of the chosen archive types in your blog configuration.
found this error when rebuild
LisaJill
Mar 29 2004, 06:27 PM
Thats something in your template calling daily archives, shouldn't have anything to do with the code I gave you.
You can either enable daily archive (weblog config, archiving, check daily archives) or remove the call to daily archives from your template.
does that help?
vidan
Mar 29 2004, 07:19 PM
Execution of (/..../www/archives/2004/03/And the answer is...php) is not permitted for the following reason:
Script path contains illegal components
Hello! found this error lol!
space is not permitted ya?
can i use space?
is this something i need to change with encode ?
LisaJill
Mar 29 2004, 07:20 PM
what code are you using and where? It should produce no spaces.... thats what the dirify="1" is for.
vidan
Mar 29 2004, 07:21 PM
anyway
thank you for your fast-reply
thanks !
vidan
Mar 29 2004, 07:32 PM
<$MTArchiveDate format="%Y/%m"$>/<$MTEntryTitle dirify"1"$>.php
you forgot put =
lol
but, its fixed tq
LisaJill
Mar 29 2004, 09:07 PM
Bleh I'm sorry. I had dirifyplus="sld" because I prefer hyphens for seo, and when I changed it to not use the plugin, well - as you saw, I messed it up =)
Sorry about that!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.