Fix for Windows Live Writer bug

My post the other day about Windows Live Writer attracted a notable comment from Shannon Whitley with the solution to a show-stopping bug in using this excellent offline blog editor with WordPress (and maybe other platforms, too).

The bug in question arises if you use WLW beta 2 and you have the Bad Behavior anti-spam plugin activated.

If you do, you’ll get an error like this whenever you try to publish a post to your blog:

The remote server returned an error: (403) Forbidden

As a result, you will not be able to publish your post.

That’s exactly what I experienced yesterday – I had reinstalled the BB plugin and didn’t connect that with the WLW issue until Shannon pointed it out.

So I’ve implemented James McKay’s fix – which involves editing the PHP code in one of the BB files on the server – and this post will be the acid test as to whether it’s successful or not…

[Edit] Yep, it works!