Forums

Self-hosted blog not working - got 412

  1. I have two blogs, one is self-hosted the other is on wordpress. I can get the app to log in to the wordpress hosted one just fine, but not the one I have self hosted.

    The blog is part of a firearms training website and is located in it's own directory, http://www.northcoastfirearms.com/blog/

    When attempting to add the blog to the app, I've tried:
    http://www.northcoastfirearms.com/blog/wp-admin/
    http://www.northcoastfirearms.com/blog/wp-admin
    http://www.northcoastfirearms.com/blog/
    http://www.northcoastfirearms.com/blog
    http://www.northcoastfirearms.com

    (I believe the bolded one is the correct one to use)

    Every time I try, though, I get the following error:

    Sorry can't log in
    Expected status code in (200-299),
    got 412

    I did go into the settings and check the "Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols." box so that isn't it.

    I'm not sure what else it could be and have run out of things to try.

    I'm using the WordPress app on the iPad 2.

  2. grimreaperruss
    Member
    Jul 27, 2012, 2:53 PM

    I have the same issue, I have been told it is to do with htaccess file and windows. I'm working on this at the weekend, will update here if I succeed.

  3. Please do as I'd love to get a solution!

  4. I had the exact same issue. I contacted my host and their advice solved the problem. Here is what they said:

    Hello,

    We have a special set of rules on the server that are employed to prevent most popular hacking attempts. The Jetpack plugin relies on the xmlrpc.php module of Wordpress, and it is very often is a target of hack attacks, that's why we have a rule that disables the access to it.

    Please add the following code to the .htaccess file in the Wordpress directory of the account:

    <IfModule mod_security.c>
    SecFilterRemove 114
    </IfModule>

    You can use the "File Manager" section of the Control Panel to modify the .htaccess file.

    Let us know if the problem persists after applying that change.

    Best regards,
    Support

    It works now!

  5. That worked! Thanks jwn9033! You are a gentleman and a scholar. :-)

  6. grimreaperruss
    Member
    Jul 28, 2012, 6:15 PM

    Well, I tried this and it worked too, I wish I had read this post before, but I guess both methods work!

    In .htaccess directly on server control panel, file was modified to read

    <IfModule mod_security.c>
    SecFilterRemove 114
    </IfModule>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond % {REQUEST_FILENAME} !-f
    RewriteCond % {REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Good luck, Russ

Leave a Reply

You must log in to post.


About this Topic

Tags

No tags yet.