Skip to content

Configuration file

Edit cloudpress.yml to change your site's public folder or to use Bedrock. (For the bigger picture of how sites run, see The platform.)

The file is in your site's files: /home/sftpuser/apps/{{ container name }}/wordpress/cloudpress.yml

##
# CloudPress Configuration File
##
version: 1.0
site:
  # The public folder of your website.
  webroot: html/wordpress
  wordpress:

    # Template: none, roots-bedrock
    # - `roots-bedrock` follows the Bedrock folder layout and ignores
    #   the WordPress configuration and plugin paths below.
    template: none

    # Folder of your WordPress installation.
    # When template is `roots-bedrock`, set to the parent `bedrock` folder.
    path: html/wordpress

    # Location of wp-config.php.
    # Only used when `template` is none.
    wp_conf_path: html/wordpress/wp-config.php

    # Folder for the CloudPress must-use plugins.
    # Only used when `template` is none.
    cloudpress_plugin_path: html/wordpress/wp-content/mu-plugins
  nginx:
    cache:
      enabled: true

To apply a change:

  1. Edit and save cloudpress.yml.
  2. In the dashboard, open the site's Settings and use the Restart action.