Linux 软件免费装
Banner图

Oversight Shabbat

开发者 oversightil
更新时间 2026年10月27日 05:27
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

maintenance mode jewish holidays israel shabbat

下载

1.2.0

详情介绍:

Oversight Shabbat closes the public side of your site from candle-lighting until havdalah, and shows visitors a message page instead. It is built for Israeli sites and fully translatable, including right-to-left languages such as Hebrew.

安装:

  1. Install the plugin from Plugins → Add New, or upload the zip file, and activate it.
  2. Go to Shabbat Mode in the admin menu, tick "Enable Shabbat mode on this site" and save.
  3. In the "Lock page" tab, customize the message and click "View the lock page" to preview it.

屏幕截图:

  • Manual locks — "Lock now" and additional lock periods for holidays or special days.
  • Lock page settings — title, message, logo, colors, reopen time and countdown.
  • The lock page visitors see during Shabbat.
  • The same lock page on a Hebrew site (right-to-left, Hebrew translation).

升级注意事项:

1.2.0 Moves updates to WordPress.org and adds an English interface. The Hebrew translation now comes from translate.wordpress.org.

常见问题:

Will this hurt my SEO?

No. During a lock the site returns HTTP 503 (Service Unavailable) with a Retry-After header saying when it reopens. This is the method Google recommends for temporary closures: pages are not removed from the index and rankings are not affected. robots.txt and sitemaps keep working normally.

What keeps working during a lock?

The admin area, the login page, the REST API, AJAX, WP-Cron and WooCommerce / payment gateway webhooks — so payments and integrations do not break.

Can customers place orders during Shabbat?

Not by default: "Block orders during Shabbat and holidays" is on. Payment confirmations (webhooks) for orders started before Shabbat, orders created by an administrator, and the WooCommerce REST API (/wc/v3) are not blocked.

I use a caching plugin. Does it work?

Yes. The plugin purges the page cache when each lock starts and ends (WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, SiteGround Optimizer, WP Fastest Cache, Breeze, Cache Enabler, Nginx Helper). In addition, a small script on every page checks the lock state and shows the lock page even if an old cached page was served. On fully cached sites we recommend a real server cron so the purge runs on time, for example */5 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron > /dev/null, together with define( 'DISABLE_WP_CRON', true ); in wp-config.php.

What about Cloudflare?

The Cloudflare cache is not purged automatically. If you cache HTML pages on Cloudflare (Cache Everything / APO), exclude the site or purge manually. Developers can hook their own purge into the oversight_shabbat_purge_cache action.

My host shows its own error page instead of the lock page

Some servers replace every 503 response with their own error page. Ask your host not to intercept 503 responses from the site.

Is the plugin available in Hebrew?

Yes. The Hebrew (he_IL) translation is delivered through translate.wordpress.org; on a Hebrew site the admin screens and the lock page are shown in Hebrew, right-to-left.

更新日志:

1.2.0 1.1.0 1.0.0