All Strattic sites come with a Strattic WordPress plugin with two main pages: Publish and Settings.
- Publish - gives you options for Live and Preview Publishing from WordPress to your static site.
- Settings - gives you various options for managing your WordPress site and how your static site is generated.
Under general settings, we have options for controlling what user roles in WordPress have the ability to publish the static site.
Notice that you can control who publishes to the Live site and Preview site independently. Depending on your team you may want to grant only administrators the ability to publish the live static site.
Strattic will automatically replace the WordPress search on a site with the static supported Algolia search.
If you do not require search on your site, you can disable "Search Index."
Taxonomy Search will add the ability to search within a category, tag, and taxonomy titles and descriptions.
By default, Strattic will generate your search results page to
yoursite.com/search. You can change this to a different URL if desired. You do not need to have a page in WordPress to match this URL.
The final setting will let you control the excerpt length for search results.
It is also possible to customize how search results are displayed. Please contact support for help with this if needed.
At Strattic we have a custom forms API that enables certain WordPress contact form plugins to work on your static site. Currently, we support Contact Form 7 and Gravity Forms.
The advanced settings tab has several options for how your site is optimized during the publishing process.
File Size Optimization
However, test these features one at a time. It is possible that optimization can break the design or functionality of your site.
The next set of features, "Publishing Optimization," gives you the opportunity to disable the creation of static pages for your attachments, various feeds and embedded pages. Much of the time you can disable these and it will speed up the publishing time for your site.
Shortlinks can be disabled in advanced settings.
Shortlinks: refers to WordPress's built-in feature that lets you shorten links. By default, these shortlinks wouldn't work on Strattic because they use query parameters.
However, you could use a plugin like http://wordpress.org/plugins/shorten-url/ to shorten the URLs on your site. There are many URL shortener plugins in the WordPress repository. As long as the plugins are using the WordPress hook
wp_get_shortlink( $post_id ) then they should work great on Strattic.
By default, Shortlinks is disabled in the Strattic settings in order to reduce your publish time, but if you would like to use a URL shortener plugin, you'll need to enable the Shortlinks setting in Strattic’s Advanced Settings in order for the Short URLs to be included in the URLs that get sent for publishing.
The final setting lets you add non-WordPress pages to be added to your static site. This feature is not generally needed.
Read more about "How to Optimize Your Site on Strattic."