Title: Proper Redirect
Author: peterarends
Published: <strong>2011 年 6 月 24 日</strong>
Last modified: 2011 年 6 月 24 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/proper-redirect.svg)

# Proper Redirect

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

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

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

 [支持](https://wordpress.org/support/plugin/proper-redirect/)

## 描述

Redirects you to the proper URL of the website. In case of stumbling upon a working
alias.

Normally (depending on your settings or control panel) http://misterwebsite.nl (
an alias of www.mrwebsite.nl) just works, but it should be redirected to [http://www.mrwebsite.nl](http://www.mrwebsite.nl).

The same goes for http://mrwebsite.nl (it should be with www. instead without), 
https://www.mrwebsite.nl (it should be http instead of https) and all other aliases.

Before WordPress 3 this just worked out of the box. But it does not anymore.

## 安装

 1. Upload `proper-redirect.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  So why would I ever want to use this plugin?

Well Charlie, that is an excellent question. Thanks very much for asking me this.
It gives me the opportunity to elaborate more on the subject. Which I of course 
like. Because I can sell you more stuff. Oh no, wait, just read on.

 1. It prevents that your website is accessible on multiple domains. It will give your
    visitors a more consistent experience, the url is in the address bar is always 
    similar. It doesn’t matter if they use www. or not in the request, it will work(
    which is good of course) and will redirect to the proper url.
 2. I expect it is better for the search engines as well. It prevents duplicate content.
    But more important, if someone makes a link to an alias of your domain name it 
    might not be counted as a link to your actual website. Which is negative for your
    ranking, it will be divided over two urls. Correct me if I am wronk. That is how
    Brian Cox would say it, right?
 3. For me personally it is handy because I develop on an alias. For example at clientname.
    mrwebsite.nl. When the website is finished and should go live I want to make the
    switch to clientname.nl instead of the clientname.mrwebsite.nl. All I have to do
    now is change the URL in WordPress and the ‘subdomain alias’ stops working. Which
    is nice because WordPress is awesome and the website will be indexed by Google 
    on the temorary address and clients b*tch about that.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Proper Redirect」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/proper-redirect)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1

First version

## 额外信息

 *  版本 **0.01**
 *  最后更新：**15 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/proper-redirect/)
 * 标签
 * [alias](https://cn.wordpress.org/plugins/tags/alias/)[redirect](https://cn.wordpress.org/plugins/tags/redirect/)
 *  [高级视图](https://cn.wordpress.org/plugins/proper-redirect/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.mrwebsite.nl/donate/)