This shortcode allows you to enable and disable password protection on a staging environment of a site installed on your server.
To run Nodalio shortcodes on your server, please follow this guide.
Shortcode usage format:
- sudo nodalio sitepass-staging domain.com on
Shortcode reference:
- domain.com – your site’s primary domain/subdomain.
- on – on/off, enable or disable password protection.
To find out the username and password set for the staging environment of a site installed on your server, you may use the sitepassinfo-staging shortcode.