How to change content of website build in WordPress when I only have access to files on hosting? I can't use wp-admin so that's what I'm left with.
CodePudding user response:
You Can't Do That™.
The only thing you can change without access to wp-admin is the contents of image files. Most of WordPress's content lives in the associated MariaDB or MySQL database.
CodePudding user response:
Why can't you access wp-admin? if you lost access to it(like no username/pass etc), and since you do have access to the FTP server, then you can backdoor your way in. Check out this post here on SO. Should steer you in the right direction.
All your content will be in there.
PLEASE NOTE: if you gain access to the backend MYSQL server, and cant tell which database is which, FTP in to the site, and find the wp_config.php
file, and towards the top, you should see something like
DEFINE database name (or something like that, been a minute) but you should see the database name there, to which you can match on the PHP MYADMIN side of things.
hope this steers you in the right direction.
Good luck.