Topic: Smart 404 redirect missing pages to search result / SEF url validation
Hello there!
Registed to ask these couple functionalities:
1) the most useful IMO, PunBB needs something like this: http://wordpress.org/extend/plugins/smart-404/
To put it simply, and to give a real-life scenario, I currently have a forum on one of my websites, which I made getting an existing PHP script and sweating blood to personalize, make seo friendly and generally pump it up to new heights. Had I known before I would've just gone with punbb straight away. Anyway, urls on that forum of mine are like "/forum-<threadid>-post-title-in-this-space. I can improvise a script to import into punbb database the posts data, won't be beautiful but I just need it working so who cares. What I am not going to do is to manually set redirection tables from old urls to new ones, so it would be great if I could just 301 redirect
/forum-([0-9]+)-(.*)
to
/forum/$2
and let such smart 404 extension do the search (the thread title would be the exact same thing so it would always get a perfect match) and the subsequent 301 redirect to
/forum/topic/XX/post-title-here
(in case you have fancy folder based seo friendliness )
2) Validate SEF url so that, if I have /forum/topic/20/how-to-get-help, and someone maliciously links to /forum/topic/20/ephestione-s-forum-stinks, the users arriving from the link get 301 redirected to /forum/topic/20/how-to-get-help
Currently, the url stays like /forum/topic/20/ephestione-s-forum-stinks which is not really cool Both for simple bad url, and because search engines will count the two urls as duplicate contents, with the consequent bad ranking.
EDIT: following not needed anymore, KeyDog pointed me to a perfectly working unofficial extension
2) reCAPTCHA integration. reCAPTCHA is great for a couple of reasons: you load some routines off your sever (namely the image creation and the code check), and you help digitize books. The only bad thing is that it's now owned by google
I have found an unofficial guide for that, but it only appears to work on 1.2 builds of punbb, plus I'd still prefer to have an official extension for that