How to set up Basic Auth

Basic Auth can protect the WordPress site where you edit, while visitors read the public static copy. The exporter also needs credentials to fetch pages from a protected WordPress origin.

  1. Open Simply Static → Settings → Basic Auth.
  2. Enter the Basic Auth Username and Basic Auth Password for the origin. These are HTTP credentials, separate from your WordPress login.
  3. With Pro, turn on Enable Basic Auth if you want the plugin to protect the WordPress site. If your web host already provides HTTP authentication, enter the credentials that your host enforces.
  4. Select Save Settings. Open the WordPress homepage in a private browser window and check for the password prompt. Then run Diagnostics and a ZIP push to confirm the crawler can read a page.

Basic Auth settings for the WordPress origin

On the free plugin, arrange origin protection with your host and enter the matching credentials here. If your public site submits forms or comments back to WordPress, test those submissions from the public domain after enabling protection. Set up forms.

Keep WordPress on your own host and add incremental publishing, forms and search with Simply Static Pro. Get managed WordPress and CDN hosting for your static site with Simply Static Studio.