Tuesday 18 November 2008

The endpoint you entered was not correct

Solution to Flickr problem with linking to WordPress using xmlrpc.php file.

I was trying to set up my Flickr account to automatically upload to a WordPress blog but having enabled XML-RPC in the WordPress control panel, Flickr kept giving the error "The endpoint you entered was not correct". Navigating to the xmlrpc.php file (http://yourblogpath/xmlrpc.php) in a browser returned a 403 Forbidden error whereas it should show a page saying "XML-RPC server accepts POST requests only".

Googling around suggested a number of potential solutions such as trying again until it works and trying in Internet Explorer (rather than Firefox) but the one that fixed it was to add the following code to the .htaccess file in the blog root and then try again:

<files>
SecFilterInheritance Off
</files>

(Final solution found here)

No comments: