Lost access to my wordpress site

Just for the records.

The problem was the define options used in wp-config.php file.

@Gulirecs used this:

define('WP_SITEURL', 'http://www.sr1.example.net');
define('WP_HOME', 'http://www.sr1.example.net');

So the site was being redirected to www.sr1.example.net and op doesn’t have defined that record on DNS. Also, those changes in wp-config.php have preference over the changes performed using wp cli so the solution has been to comment/delete those define parameters inside wp-config.php file.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.