I have a site developed by a third party using wordpress however we could not log in the Admin page currently due to change of IP address recently.
The login page https://domain/wp-admin has directed me to "Forbidden" error page instead.
I also do not have the database file to do further amendments.
Can anyone help on this? Thanks.
I have a site developed by a third party using wordpress however we could not log in the Admin page currently due to change of IP address recently.
The login page https://domain/wp-admin has directed me to "Forbidden" error page instead.
I also do not have the database file to do further amendments.
Can anyone help on this? Thanks.
Share Improve this question asked Jun 8, 2020 at 9:00 regine06regine06 111 silver badge3 bronze badges 4- 1 You would need to update the DNS to point to the new IP, you only need to make changes to WP if the URL has changed – Tom J Nowell ♦ Commented Jun 8, 2020 at 9:45
- Don't you have any access to hosting ? – Sabbir Hasan Commented Jun 8, 2020 at 10:10
- @SabbirHasan Unfortunately no, as we are riding on third party host. – regine06 Commented Jun 9, 2020 at 8:45
- I'm able to access the login page of the website. You can message me the credential if you want me to check. I'll happily do that for you. – Sabbir Hasan Commented Jun 9, 2020 at 9:11
2 Answers
Reset to default 2You may try changing the site url in wp-config.php with:
define( 'WP_HOME', 'http://example' );
define( 'WP_SITEURL', 'http://example' );
you may also check if you have http, or https.
Had same issue when accessing the /WP-admin from an IP address in another country. The hosting company had blocked entry from IP addresses in other locations. Please contact your host to fix.