0

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.

  • 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 Jun 8 at 9:45
  • Don't you have any access to hosting ? – Sabbir Hasan Jun 8 at 10:10
  • @SabbirHasan Unfortunately no, as we are riding on third party host. – regine06 Jun 9 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 Jun 9 at 9:11
0

You may try changing the site url in wp-config.php with:

define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );

you may also check if you have http, or https.

| improve this answer | |
  • What if I do not have the working files for the site? The person who helped us with the designing did not leave any working files for us, so I'm unable to edit on wp-config.php. By the way, wit is using https. – regine06 Jun 8 at 9:45
  • @regine06 you can gain access via the hosting panel, you should contact support to gain access if you don't have it. I suspect this isn't a WP issue but a DNS issue, so this is unlikely to be something you can fiix from WP Admin or by changing PHP files. If we knew what the domain name was and what the IP is supposed to be then anybody could test if that was the case – Tom J Nowell Jun 8 at 19:46
  • @TomJNowell Could you help to test if I can provide the domain name and IP address? www.gtl.com.sg (IP address is 172.25.200.240) – regine06 Jun 9 at 8:43
  • The A record of that doman is 103.11.191.71, look at dnschecker.org/…, you should speak with your webhosts support to confirm with them what the correct IP on that record should be, and how to update it to point to the correct place, it looks lke the domain is managed with Vodien.com. You'll also want to speak with them if they aren't also your webhost for how to update it. Think of it like an address book, you look up gtl.com.sg and the A record is the GPS coordinates to head towards the server that powers your site – Tom J Nowell Jun 9 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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