Report this

What is the reason for this report?

Login to Wordpress Admin via IP but not domain name

Posted on March 26, 2017

I can login to wp dashboard using my ip address, but not my domain name, i.e:

12.345.67.89/wp-admin works ok mydomain.com/wp-admin doesn’t work

I just get taken back to the login page again when I enter correct login details. (If I enter incorrect ones I get the usual error message).

I’m assuming it is some settings somewhere, but I don’t know where.

I’ve edit my wp-config file:

define(‘WP_HOME’,‘http://mydomain.com’); define(‘WP_SITEURL’,‘http://mydomain.com’);

Is there something else I’m missing?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.