Accessing Wordpress Database

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
luke.vahc
500 Command not understood
Posts: 1
Joined: 2017-02-14 20:00
First name: Luke
Last name: Dodge

Accessing Wordpress Database

#1 Post by luke.vahc » 2017-02-14 20:04

So I work for a very small nonprofit and was attempting to change our Wordpress homepage, but inadvertently locked myself out of the entire site by changing the Wordpress URL but not the website URL. I am not totally unable to log in, as it says the site is no longer hosted on the server and I get 404ed.

I'm trying to use FileZilla to FTP onto the server so that I can change back the URLs and regain access to the site, but the site url is <irrelevant>. Every time I try to log in, the URL reverts to <even more irrelevant> and can't connect to the server. Any thoughts on how I can FTP into the database and change the URLs back before my boss notices?
Last edited by botg on 2017-02-14 20:42, edited 1 time in total.
Reason: Removed advertismeent

User avatar
boco
Contributor
Posts: 24156
Joined: 2006-05-01 03:28
Location: Germany

Re: Accessing Wordpress Database

#2 Post by boco » 2017-02-14 22:44

The database is not exposed over FTP, so you can't do that.

The path is usually in a file called "config.php" or similar in the base of the Wordpress installation. Change the paths in that text file back and re-upload it.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Post Reply