這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.
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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Proper Redirect” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Proper Redirect 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1

First version