I changed the URL using the WordPress settings, and I obviously messed up by doing so. I’ve been trying to find a solution for the past few days to no avail, I’ve found some solutions that involve accessing the wp-config.php file which I have no idea how to do. Im using Google Cloud to host my site.
I have 0 dev background, complete beginner, I built this site for a friend and now it’s completely gone. I’m also afraid my site might be configured differently and messed up If i am able to somehow regain access. I’m at a point where I’m considering paying anyone who can help me sort this out and get my site back to how it was.
Any help would be greatly appreciated.
[ad_2]
Your site isn’t set up differently, you’ve just made a mistake that many have done before.
Your site still exists, however you’ve changed the address from which it can be accessed, without (I am guessing) actually owning the domain that you changed it too.
You are meant to purchase the domain name (url) which comes with a setting page called a DNS, this points to your Google Cloud IP (address) so that when you type in the URL it goes to the correct database with the correct URL (which you changed)
So how do you fix it..
You need to get into the database and change the mistake that is inside. Normally on most hosting, this is done by accessing the CPanel for the hosting and clicking on the Mysql application.. From which you can find the wp_options table which has a your domain name inside and resetting it…
I do not know how you can do this in Google Cloud, I’ve never used it.
Can you not contact customer services and ask them to do a database backup to a few days ago?
Can you explain how you were able to set up a database or a WordPress install when you first made the website?
Add the following to your wp-config to reset the main URL:
`define(‘WP_HOME’,’http://domain.com’);`
`define(‘WP_SITEURL’,’`[`http://domain.com`](http://domain.com)`’);`
Obviously change *domain.com* to your domain.