1. Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
define( 'WP_HOME', 'http://beaconofunityafrica.com' );
define( 'WP_SITEURL', 'http://beaconofunityafrica.com' );
2. If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor and upload it back to the site.
Add these two lines to the file, immediately after the initial “<?php” line:
update_option( 'siteurl', 'http://beaconofunityafrica.com' );
update_option( 'home', 'http://beaconofunityafrica.com' );
Upload the file back to your site, in the same location. FileZilla offers a handy “edit file” function to do all of the above rapidly; if you can use that, do so.
Load the login or admin page a couple of times. The site should come back up.
Important! Do not leave this code in the functions.php file. Remove them after the site is up and running again.
-
This reply was modified 3 years, 2 months ago by Yui.
-
This reply was modified 3 years, 2 months ago by Yui. Reason: please use CODE button for proper formatting
Hi,
Thank you for the update.
We have tried to go back to the host which is profree hosting to access the control panel, and have made an attempt to repoint the servers from go daddy to profree host. At the moment it still isn’t connecting, though I’ve read on the forums that profree host is down.
At the moment we still can’t access WordPress admin to make the amends.
If this doesn’t work, we want to try and migrate the site to a different website host.
Do you have any suggestions on that?
Moderator
Yui
(@fierevere)
永子
@beaconofunityafrica
Please do not ask for hosting recommendations.
Requests to recommend web hosting providers and some other “discussion topics” tend to attract spam and/or fights between various opinions. Therefore topics like this usually get closed.
The WordPress team has provided a list of recommended hosting providers. For more details and other recommendations, please search via your preferred search engine.