Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-04 07:51:12

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Reduce 404s from old bookmarked URLs

I have no 404 problems within my site. All the forum searching I did yielded different dicussions from what I’m about to post, but if I missed a FAQ or something, sorry in advance!

Okay. I once used permanent links of the “section/id” flavor long ago. I now use “section/title” and have been doing this since, I don’t know, gamma release days. But I have a small number of pages that were (and are) popular and get linked to many times a month with the old links. These sad visitors get 404 errors. If they go to my home page and search for what they want, they’ll find it, but I want a way for the old permanent links and the new permanent links to work at the same time. Suggestions? This can be site-wide, or just the few pages that get the most 404 errors.

Offline

#2 2006-02-04 12:49:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Reduce 404s from old bookmarked URLs

I’m using sgb_url_handler for that. All requests for /section/id/title land on the /section/title page.

Offline

#3 2006-02-04 15:47:48

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: Reduce 404s from old bookmarked URLs

I installed sgb_url_handler with sgb_error_documents edited into it according to the instructions, and voilà! No further work seems to be required. It can’t be that easy, can it? Well, if it’s not and I have troubles, there’s plenty of documentation to dig into.

Thanks, doggiez.

Offline

Board footer

Powered by FluxBB