kendraio / kendra_home

Kendra Home
https://www.kendra.io
GNU General Public License v2.0
2 stars 2 forks source link

Missing pages from old wiki #78

Open iAugur opened 8 years ago

iAugur commented 8 years ago

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.

dahacouk commented 8 years ago

Well done for capturing these but would like to talk more...

dahacouk commented 8 years ago

Just referencing the closed issue #67 for additional information.

dahacouk commented 8 years ago

Just realised I still need to do the bulk update for all wiki pages. But I feel what we need to do is send all: wwwkendraorguk/wiki/wiki.pl?action=browse&id=FutureEvents&revision=54 to wwwkendraorguk/wiki/wiki.pl?FutureEvents and then I'll add redirects from there. I have them already to rock. I just need a good kick. Perhaps that's what this is!