resetting all WP user sessions daily on SlickStack
- This topic is empty.
February 2025 promo! Join our Discord free of charge.
how might this be possible if I want to ensure all users get force logged out of woocommerce every day. is there a way?
For WordPress you can reset the Salts in your wp-config to do this… for SlickStack purposes that means running the ss-install-wordpress-config
bash script anytime you need, or you can set the interval in ss-config to automatically run that script each day.
Example:
https://github.com/littlebizzy/slickstack/blob/master/crons/07-cron-quarter-daily.txt
## run ss-install-wordpress-config if set to quarter-daily ##
if [[ "${INTERVAL_SS_INSTALL_WORDPRESS_CONFIG}" == "quarter-daily" ]]; then
source "${PATH_SS_INSTALL_WORDPRESS_CONFIG}"
fi
Look at this option in your ss-config:
## INTERVAL_SS_INSTALL_WORDPRESS_CONFIG = [quarter-daily|half-daily|daily|half-weekly|weekly|half-monthly|monthly] ##
I see this in my ss-config:
INTERVAL_SS_INSTALL_WORDPRESS_CONFIG=”never” ## ss default = never
Yes change to be e.g.
INTERVAL_SS_INSTALL_WORDPRESS_CONFIG="daily"
or whichever interval you prefer, probably daily should be more than enough, depending on your use case… or even half-weekly
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!