Skip to content

Manipulate WordPress filesystem

In order to manipulate WordPress files, such as uploads, themes, etc., we need to access the console of the WordPress pod.

Danger

Please, make sure you manipulate files with careful. Any unintended modification of a file system may break your WordPress site, and hopefully, it could be recovered by restoring a backup.

Under the Administrator environment, go to Workloads and then Pods. Click under the WordPress pod:

image-43.png

Click on the Terminal tab to access the terminal:

image-44.png

To view the content of the WordPress site, perform the following:

pwd

# WordPress files are located under the following path:
/opt/app-root/src

# See in detail all files with:
ls -al

image-45.png

To check where the uploads, themes, plugins are, go to the wp-content folder:

image-46.png