This shortcode allows you to toggle access logging on the staging environment of a site installed on your server. Access logs log all attempts to visit your site, you may use this shortcode to enable or disable the staging environment access log.
To run Nodalio shortcodes on your server, please follow this guide.
Shortcode usage format:
- sudo nodalio sitelog-access-staging domain.com on
Shortcode reference:
- domain.com – your site’s primary domain/subdomain.
- on – turn on/off your site’s access log.
To toggle the access log on your site’s live environment, you may use the sitelog-access shortcode.
When adding additional domains or aliases to your site, you will be required to setup logging for each one. The dafault setting is “on”.