-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Since the old kendra.org.uk wiki now points at kendra.io there are a lot of 404s for the old wiki pages.
As these pages were perl pages with a querystring it is not easy to put in redirects for individual 404s.
Also as they are perl pages (.pl) they get handled by the fast 404 process by Drupal [?] so don't bootstrap the site and therefore can't utilise the URL redirect functionality.
However we can 'interpret' the querystring and use the id of the old call to redirect the request to a more useable format.
I have put in a rewrite rule to redirect old wiki pages of the format:
wwwkendraorguk/wiki/wiki.pl?action=browse&id=FutureEvents&revision=54
to:
http://www.kendra.io/FutureEvents
i.e. rewrite the request to the use the id of the old call as a path.
This means that when you get 404s now you can see what they were for originally and put in a reasonable redirect using the Drupal redirect interface.
So in the example above they are now redirected to /events.
This will enable you to gradually bring the 404s under control.
There are other wiki requets that 404 that do not have the id parameter and therefore need to be handled separately. eg. https://www.kendra.io/wwwkendraorguk/lists/archive/k-developers/msg00268.html etc
We could also simply put in a redirect from the old wiki to a single page with a note or send them all to the home page.
Either way Google etc will then stop spidering them and remove them form indexes.