Title: Conditional redirect based on time
Author: Galaxy Weblinks
Published: <strong>2018 年 5 月 28 日</strong>
Last modified: 2026 年 5 月 29 日

---

搜索插件

![](https://ps.w.org/website-open-close-hours/assets/icon-128x128.png?rev=3095738)

# Conditional redirect based on time

 作者：[Galaxy Weblinks](https://profiles.wordpress.org/galaxyweblinks/)

[下载](https://downloads.wordpress.org/plugin/website-open-close-hours.1.8.1.zip)

 * [详情](https://cn.wordpress.org/plugins/website-open-close-hours/#description)
 * [评价](https://cn.wordpress.org/plugins/website-open-close-hours/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/website-open-close-hours/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/website-open-close-hours/#developers)

 [支持](https://wordpress.org/support/plugin/website-open-close-hours/)

## 描述

This plugin provides a conditional redirect functionality. This allows you to redirect
your visitors to a different page or offer on your website depending on a pre-allotted
time in your timezone. As the admin you can set the timings for redirect according
to day (Monday, Tuesday, Wednesday, Thursday, … Sunday) or set start and end time
for the entire week.

For example, you show consultation hours between the hours 8am to 5pm on Tuesday
and Thursday. Any user visiting the website between the time will see you available,
but outside of the timeframe will be redirected to your Contact Us page.

Any user of your website who is logged in will not be affected by this redirect.

Here’s a link to the documentation for the plugin. This will help you learn more
about its features and how to use it.
 **[Documentation](https://wp-plugins.galaxyweblinks.com/wp-plugins/conditional-redirect-based-on-time/doc/)**

For any feedback or queries regarding this plugin, please contact our [Support team](https://wp-plugins.galaxyweblinks.com/contact/).

## 屏幕截图

[⌊Screenshot after installing the plugin, this is the settings page. Website administrator
can change On & Off time for WordPress site. screenshot-2.png⌉⌊Screenshot after 
installing the plugin, this is the settings page. Website administrator can change
On & Off time for WordPress site. screenshot-2.png⌉[

Screenshot after installing the plugin, this is the settings page. Website administrator
can change On & Off time for WordPress site. screenshot-2.png

[[

## 安装

Upload plugin folder to the /wp-content/plugins/ directory Activate the plugin through
the ‘Plugins’ menu in WordPress Go to Plugin settings to change timings and Redirection
settings

## 常见问题

### How to Disable Plugin Functionality?

If you need your website to be always live (available) and don’t want to redirect
users, then you can deactivate plugin to make your website work normally.

### How to log in to Website?

You can normally log in to the website using your login URL. For Example- “http://
www.example.com/wp-admin” or “http://www.example.com/wp-login.php”

### What are Timing Settings for?

There are three settings to set the time:
 There are three settings to set the time:
1) Website will be open for a day. 2) Website will be closed for a day. 3) Website
will be open for a few hours (custom time).

### Which Timezone is Considered as Standard?

The timezone you have selected in your General settings of WordPress website is 
considered for Opening and Closing time of website.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Conditional redirect based on time」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

[帮助将「Conditional redirect based on time」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/website-open-close-hours)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/website-open-close-hours/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/website-open-close-hours/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/website-open-close-hours/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/website-open-close-hours/)。

## 更新日志

#### 1.8.1

Stable Release

#### 1.8

 * WordPress 7.0 compatibility, Plugin Check fixes, and security improvements.
 * Plugin header now includes Tested up to, Requires at least, and Requires PHP 
   matching readme.txt.

#### 1.7

Stable Release

#### 1.6

Stable Release

#### 1.5

Stable Release

#### 1.4

Design Improvement

#### 1.3

Stable Release

#### 1.2

Stable Release

#### 1.1

Second Stable Release

#### 1.0

First Stable Release

## 额外信息

 *  版本 **1.8.1**
 *  最后更新：**2 周前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/website-open-close-hours/)
 * 标签
 * [business hours](https://cn.wordpress.org/plugins/tags/business-hours/)[redirect](https://cn.wordpress.org/plugins/tags/redirect/)
 *  [高级视图](https://cn.wordpress.org/plugins/website-open-close-hours/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/website-open-close-hours/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/website-open-close-hours/reviews/)

## 贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/website-open-close-hours/)