Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-21 00:14:29

Dawk
Member
Registered: 2005-02-22
Posts: 74

URLs: /year/month/day/title in 1 section rest /section/title

I’ve been wondering this for awhile.

Is there any way to use /year/month/day/title for just 1 section & keep the rest of the site /section/title?

Most content isn’t time sensitive, but I’d like to add a time sensitive news section.
Some news services require some kind of time stamp in the url for syndication also.

Thanks

Offline

#2 2007-11-21 05:40:44

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: URLs: /year/month/day/title in 1 section rest /section/title

I did something similar recently using gbp_permanent_links I had one section using /section/title while everything else used just /title


Shoving is the answer – pusher robot

Offline

#3 2007-11-21 06:03:07

Dawk
Member
Registered: 2005-02-22
Posts: 74

Re: URLs: /year/month/day/title in 1 section rest /section/title

OK, thanx. I have it installed already too.

I also came up with kind of a fudge, but it would work.
I added the date to the beginning of the title with the [URL-only title field] in advanced options, like so…
example.com/section/01-01-2008-title

Works with dashes, no luck with forward slashes. RSS feed links work fine.
I’ll probably only have 4-5 articles a week, so its an option.

Time to play with that perm links a bit ;)

Offline

Board footer

Powered by FluxBB