這個外掛並未在最新的 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Proper Redirect〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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

變更記錄

0.1

First version