Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-12-26 17:10:52

TWD
Member
Registered: 2009-09-10
Posts: 14

Re: Bert Garcia: When all you have is a keyboard

I’ve been wondering what the best way to get rid of that comma was! And that archive method is interesting. So you have an archives section, and then created articles for each year, and set the section landing so that the most recent year would be displayed? And I’m a bit confused about how 404s are prevented—could you elaborate?

Thanks for the info. :)

Offline

#17 2009-12-26 19:04:32

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Bert Garcia: When all you have is a keyboard

TWD wrote:

I’ve been wondering what the best way to get rid of that comma was!

I was using jnm_categories, then I came upon rah_function.

And that archive method is interesting. So you have an archives section, and then created articles for each year, and set the section landing so that the most recent year would be displayed?

Yes, that’s the way it’s done.

And I’m a bit confused about how 404s are prevented—could you elaborate?

When I launched the site, my permlink mode was /year/month/day/title, a few months back, I changed it to just /title. Visitors were coming in and getting the 404 page, I looked at zem_redirect as a solution, but it seems to be abandoned. After I created the new site, I noticed that visitors were now being shown the archive page for the year instead.

Try this link: http://bertgarcia.com/2009/10/20/philips-voip-151

Thanks for the info. :)

Thanks for asking :)

Offline

#18 2009-12-27 04:07:50

TWD
Member
Registered: 2009-09-10
Posts: 14

Re: Bert Garcia: When all you have is a keyboard

So the redirect just sort of… happens? Is it leftover from the previous permlink mode? I’m just curious about how Txp makes the choice to redirect there instead of showing a 404.

Offline

#19 2009-12-27 19:22:48

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Bert Garcia: When all you have is a keyboard

TWD wrote:

So the redirect just sort of… happens?

Yeah, here’s a link to an article: http://bertgarcia.com/terrafirma2

This also works: http://bertgarcia.com/terrafirma2/wtf

Is it leftover from the previous permlink mode? I’m just curious about how Txp makes the choice to redirect there instead of showing a 404.

That’s just the way it works, the devs could give you a definite answer as to why.

Offline

#20 2009-12-28 17:45:08

TWD
Member
Registered: 2009-09-10
Posts: 14

Re: Bert Garcia: When all you have is a keyboard

Ah, alright. Thanks again. :)

Offline

#21 2010-02-13 11:01:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Bert Garcia: When all you have is a keyboard

Hi Bert, thanks for publishing your method. I have added your tip to TXP Tips.

Offline

Board footer

Powered by FluxBB