Setup

Before exporting your Concrete CMS site as static HTML, you must configure the Static Site Exporter add-on.

Setting the Output Path

  1. Navigate to Dashboard > Static Site Exporter > Settings.
  2. Locate the Full Output Path field.
  3. Enter the absolute path where the exported static files should be saved.
  4. Ensure this directory is writable by your Concrete CMS instance, and that you end the path with a trailing slash.

Specifying the Output URL

  • For each site instance in your Concrete site, specify the output URL you'll be using to render the static site in its final location.
  • This is necessary to ensure that generated links point to the correct destination.

Adding Custom .htaccess Redirects

  • Each site can have additional .htaccess rules applied.
  • Enter any redirects or rules in the Additional .htaccess Redirects field.
  • These rules will be added to the exported .htaccess file, preserving URL rewrites or redirects.