Title: Advanced Https Redirection
Author: ehabsan
Published: <strong>2018 年 2 月 23 日</strong>
Last modified: 2018 年 3 月 28 日

---

搜索插件

![](https://ps.w.org/advanced-https-redirection/assets/banner-772x250.png?rev=1828031)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/advanced-https-redirection/assets/icon-128x128.png?rev=1828031)

# Advanced Https Redirection

 作者：[ehabsan](https://profiles.wordpress.org/ehabsan/)

[下载](https://downloads.wordpress.org/plugin/advanced-https-redirection.zip)

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

 [支持](https://wordpress.org/support/plugin/advanced-https-redirection/)

## 描述

This plugin enables you to easily redirect your whole domain from/to HTTP to/from
HTTPS, or you can just redirect certain pages, posts, terms or custom post type 
or any other front-end page.

Using this plugin you can force your website visitors to use the the HTTPS version
of your website, or the other way around. And you can also use it to have your whole
website on HTTPS while certain pages are on HTTP, or the other way around.

This plugin allows you to redirect both dynamic resources and static resources –
for static resources to work your server must be Apache and you should have an .
htaccess file in your root WordPress directory.

features – all redirections work from / to HTTP to/from HTTPS:

 * Redirect the whole domain including static resources
 * Redirect only the admin directory
 * Redirect only the front-end pages
 * Redirect only static resources
 * Redirect the whole domain except for certain posts, or custom post types, or 
   terms, or custom taxonomies, or any other front-end page
 * Redirect using different redirection statuses: 301,302,303, and 307
 * This plugin will generate links for posts and other front-end pages based on 
   how they should be redirected, so if a post is supposed to be accessed through
   HTTPS, this plugin will make sure that all links generated by WordPress to that
   post are HTTPS links, which is better for seo

## 屏幕截图

 * [[
 * Settings page
 * [[
 * Post edit
 * [[
 * Adding terms
 * [[
 * Tooltips in settings page
 * [[
 * Backing up htaccess file

## 安装

1) Upload advanced-https-redirection folder to the /wp-content/plugins/ directory.

2) Activate the plugin through the ‘Plugins’ menu in WordPress. 3) Configure the
plugin by going to Settings => Advanced https redirection, you can override these
global settings in posts, terms, and all other front-end pages.

## 常见问题

  Installation Instructions

1) Upload advanced-https-redirection folder to the /wp-content/plugins/ directory.

2) Activate the plugin through the ‘Plugins’ menu in WordPress. 3) Configure the
plugin by going to Settings => Advanced https redirection, you can override these
global settings in posts, terms, and all other front-end pages.

  How do i redirect the whole domain to https or http?

Go to the plugin’s settings page and then select the option Redirect to https in
all the different options including static resources. If you wish to redirect the
whole domain to http then select Redirect to http in all the different options.

  Does this plugin work with all different Servers?

Yes, except for the redirection of the static resources – like images. You need 
to be on Apache and using an htaccess file for this option to work.

  I want to redirect static resources but i\’m not on Apache or i don\’t use an 
htaccess file?

At the moment redirecting static resources works only by adding rewrite rules to
an existing htaccess file, so if you are not on Apache or ypu are not using htaccess
this option will not work – you will be informed in the settings page of this plugin
whether this option will work for you or not.

In the future i may make this plugin compatible with more servers.

However, If you are using Apache this makes it quite easy for you to manage the 
redirection yourself, go to the plugin and choose what redirection status you want
to use, and whether you want to redirect static resources to http or https. After
choosing these options you will have a code that is meant to be inserted in your
htaccess file, copy that code and insert it in your main Apache configuration file.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Advanced Https Redirection」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ehabsan ](https://profiles.wordpress.org/ehabsan/)

[帮助将「Advanced Https Redirection」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-https-redirection)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/advanced-https-redirection/)
 * 标签
 * [htaccess](https://cn.wordpress.org/plugins/tags/htaccess/)[https](https://cn.wordpress.org/plugins/tags/https/)
   [redirection](https://cn.wordpress.org/plugins/tags/redirection/)[ssl](https://cn.wordpress.org/plugins/tags/ssl/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-https-redirection/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/advanced-https-redirection/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/advanced-https-redirection/reviews/)

## 贡献者

 *   [ ehabsan ](https://profiles.wordpress.org/ehabsan/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-https-redirection/)