How to access server files if an error breaks the website and disables access log in page?

Hi, I have encountered an error previously where I was unable to access my WP log in page. I had to access my server files through CPanel to fix a code in a file in order to access the website again.

For Cloudways, their recommendation is to access the server files from the Wordpress dashboard via File Manager plugin. But what if we can’t even access the Wordpress dashboard? What can we do in such a situation?

You would use an SFTP program such as Filezilla. When you click on a server in the control panel, the page that comes up tells you what the master credentials are for that server. That is what you would enter into your SFTP program.

1 Like

Thanks for your advice!