What is the difference between each environment?
When hosting with Strattic, it’s essential to understand our three environments to successfully develop and publish your site. To learn more about the different types of publishing on Strattic, click here.
When referring to your Staging website, this is the WordPress version of your website. Your WordPress website is housed in our unique secure, containerized environment, which you wake up when needed through the Strattic dashboard (it shuts down for extra security and environmental reasons). You would use this development environment to make edits to your website, such as adding new content, installing plugins, or updating your theme.
When creating internal links you should use the staging url of your site (
https://example.site.strattic.io/about-us/) or relative links like
/about-us/. This url will get rewritten to your live or preview url when you do a Strattic publish.
The Preview environment is ideal for reviewing your website and testing any major changes or updates you have implemented. By publishing to the Preview site, you’ll be able to see how an updated static version of your site will look before updating your live static site.
Your Preview site is blocked from search engines with the
X-robots-tag HTTP header.
https://example.live.strattic.io/ or https://www.yourdomain.com
Before connecting your domain:
When publishing to Live, Strattic will generate a static version of your WordPress site. The Live static version will become your public-facing site once you connect your domain. In the meantime, you can test publishing to the live version until you’re ready to launch.
Your live site is blocked from search engines with the
X-robots-tag HTTP header until your custom domain is connected.
After connecting your domain:
Once you connect your custom domain to your static site, our system rewrites all the URLs to the updated domain name. Your domain name will now be public-facing for your visitors to see.
The live URL (example.live.strattic.io) will no longer be available (since it has been replaced by your real custom domain).
You will not be able to edit the live static site. You'll need to make any updates or edits in the staging/WordPress environment first and then re-publish using the Strattic Publish button.
Which environment does SFTP connect to?
When using SFTP to access your Strattic-hosted website files, you will be affecting the Staging environment only. Any edits you make directly on the server will not show on either the Preview or Live environments until you do a Strattic publish from within the WordPress dashboard.
When you're working in multiple environments, you may like to install a chrome extension like this one that allows you to check the "noindex" and "nofollow" tags on your websites efficiently and easily.
All publish types (full, quick and selective) will trigger the search index to update.