Monday, May 22, 2017

WP HTTP Error 403 can be raised by Invalid URL

If your WP Admin replies with http error code 403, and an error message like this:
"Sorry, you are not allowed to access this page"
,
and if you cannot find out the cause for this, check the url you are trying to access. Maybe it is not valid.

In example, this url will generate HTTP status 403:
http://localhost/wptest1/wp-admin/admin.php?page=run-connector?a=3

This will be ok:
http://localhost/wptest1/wp-admin/admin.php?page=run-connector&a=3

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...