Wordpress login getting error

Category: Wordpress

InMotionFans
n/a Points
Asked:
2014-07-30 6:48 pm EST

Hits: 29
mmops.ocm/login

Error 406 - Not Acceptable

An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,968 Points
2014-07-30 7:10 pm EST
Hello, and thank you for your question.

The Mod Security error that your WordPress site is generating is:

[msg "POST to wp-login.php without redirect_to"] [severity "WARNING"] [tag "WEB_ATTACK/SHELL ACCESS"

It looks like you're not using the default wp-login.php script to handle your WordPress logins. The theme that you're currently using is missing the required hidden redirect_to field that our server requires to authenticate with WordPress correctly.

You might wish to contact the theme developer and let them know of these issues so they can roll out an update and fix this permanently. But for the time being if you'd like to fix this yourself you should be able to modify this file and add the highlighted code:

/wp-content/themes/AskIt/page-login.php Line 43:

<p><label><span><?php esc_html_e('Password','AskIt'); ?>: </span><input type='password' name='pwd' id='pwd' size='20' /><span class='et_protected_icon et_protected_password'></span></label></p>
<input type="hidden" name="redirect_to" value="http://example.com/wp-admin/">
<input type='submit' name='submit' value='Login' class='etlogin-button' />



You of course would want to replace example.com with your own domain name.

Please let us know if you are still having any issues at all.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!