I'm currently trying to log into a WordPress website, which I downloaded off the virtual server, now in my local server (MAMP, because I'm on a Mac machine). When I try and log into the backend, it successfully gives me the WordPress login screen. After I log in with the correct credentials, it gives me the following:

Error 403

We're sorry, but we could not fulfill your request for /wp-login.php on this server.

You do not have permission to access this server. Data may not be posted from offsite forms.

Your technical support key is: key number

You can use this key to fix this problem yourself.

If you are unable to fix the problem yourself, please contact wiley at illinimedia.com and be sure to provide the technical support key shown above.

One of the plugins we use on this site is Bad Behavior, which I believe is the cause of the problem. So, I looked up different support posts, such as:

I've tried removing the bad behavior folder out of the plugin folder, "deactivating" the plugin. Then, I restarted my Apache server. But no luck.

Is there something else that I could be trying?

Thanks in advance!

1 Answer 1


It sounds like you did not correctly move WordPress and your local install is trying to login to the hosted site. I am guessing that this is the problem becasue of this sentence, "Data may not be posted from offsite forms." Your login form should not really ever be "offsite". You need to change the site URL just as if you've moved the site from one domain name to another.

If it isn't multisite, you can edit wp-config.php like this:


"http://example.com" in your case will be something like "http://localhost/yoursite" or an IP like "". The IP is better because it will allow the site to work for any computer on the local network. You may also need a port number after the domain, like "". You will have to use the actual values for your local server. MAMP should be able to tell you what those need to be.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.