1. Home
  2. Docs
  3. Simply Static
  4. Settings

Settings

Simply Static comes with a couple of settings to provide you enough configuration options to match your individual setup.

General

The general settings tab covers the most basic configurations like the the destination URL and the delivery method.

Settings 1

Destination URL

This setting highly depends on your use case. Use absolute URLs if you want to deploy your website to (S)FTP server of something equal. It can also help when you are using a Third-Party-Plugins that require the full path to work (like in Widgets or Slider plugins) – otherwise, I would recommend using relative URL’s

Relative URLs are the most common use case. They remove the host from your domain entirely and opens the later usage pretty much to every possible hosting scenario available.

Save for offline use is only useful if you want to archive a static copy of your website on your computer as it tries to structure the files based on your local file storage.

Delivery Method

Here you have to decide how Simply Static should handle the export of your files. Use the Zip Archive if you want a downloadable zip file of your entire static export.

Use local directory if you want to run your static page on the same server within a subdirectory.

The last delivery method is GitHub, which requires the configuration in Simply Static -> Settings -> GitHub. It enables you to commit (and update) your files in a repository within GitHub. You can read more about how and why this is awesome here.

Include/Exclude

Include/Exclude let you fine-tune the generation process. Here you can include and exclude URLs, files, directories and use regular expressions to match more complex rules.

Settings 2

Additional URLs

Here you can add additional URLs to your static export. Simply Static can only add URLs to your static site that are crawlable. That means they need to be linked somewhere from the front end of your website. If you want to include a URL that is not linked add it to additional URLs. Make sure you include the full URL as shown in the example (screenshot) with the full protocol (HTTP/HTTPS). You can add as many URLs as you like, one per line.

Additional Files and Directories

Here you can add additional files and directories to your static export. You have to use the relative path based on your websites root directory. This can be useful if you want to add the full uploads directory or XML sitemaps generated by some of the popular SEO plugins out there.

URLs to exclude

There are maybe some files you want to stop from including on your static website. These can be files that hold security information, debug logs, or simply unnecessary files and directories. This setting is also helpful when running static exports within a multisite environment based on multiple domains (Domain Mapping) to export a single static site for each subsite of your network.

GitHub

These settings are so important, that I decided to add a new document for it itself. You can learn more about that here.

Comments

I decided to add a new document for it itself. You can learn more about that here.

Search

I decided to add a new document for it itself. You can learn more about that here.

CORS

If you want to use the comment or form integration of Simply Static chances are good you have to configure the CORS settings. CORS stands for cross-origin request security. It’s a protection mechanism that prevents requests from another domain to your own.

This is useful in most cases (spam protection for example). The CORS settings in Simply Static will enable receiving requests from your static website (and only your static websites) to process webhooks.

Webhooks are basically event listeners. They trigger an action if something happens (for example when a specific URL was opened or data was posted to an endpoint.).

Settings 3

First, add the URL of your static website (that’s the URL the events coming from) and then choose a method to fix the upcoming CORS issue for you.

You can decide between allowed_http_origins and wp_headers, but allowed_http_origins should work most of the time as long as both websites have an SSL certificate enabled. Sometimes there are more configurations that have to be done on your server.

Please get in contact with your hosting provider and tell them what you want to achieve – I’m sure they can help you here pretty fast.

Advanced

The advanced settings are more relevant for your WordPress website instead of your static website. Here you can change the temporary file path Simply Static will use while generating the physical files for your static export.

You can also configure BASIC AUTH if your website is protected. This makes sure Simply Static can crawl your entire website while it is’nt avaiable to the public.

Settings 4

Reset

As the name indicates, clicking the red button will reset all your Simply Static settings and reset the plugin to it’s defaults. It also resets the database and clears up the activity and export log for you.

Settings 5