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

WPNeon GoCodes 2

外掛說明

Have you ever had to give someone a shortened version of a URL? Maybe you’re a podcaster, and you can’t say “visit mydomain.com/2008/01/03/my-post-with-a-long-url/ for more info.”
Wouldn’t it be useful if you could just say “go to mydomain.com/go/mycoolpost/ ?” Sure, you could use a service like tinyurl.com, but that’s still not too great if you need the URL for a podcast. It’s still awkward to read-out “tinyurl.com/27asr9,” isn’t it? It’s less professional too.
GoCodes let’s you create shortcut URLs to anywhere on the internet, right from your WordPress Admin.
The plugin is also useful for masking affiliate program URLs.

Upgrading

  1. Deactivate plugin
  2. Upload updated files
  3. Reactivate plugin

Origin

We are proud that original base of this plugin is a fork of GoCodes by redwall_hp (Not available for download and Supported currently).
We worked on the plugin before before releasing it is “WPNeon GoCodes2”, stripped down some code to make it a simple & lightweight.

Known Issues

WP Super Cache

There seems to be a conflict with the WP Super Cache plugin where a redirect will only work once before the cache is cleared. There are a couple of workarounds:

  1. Add “index.php” on a new line in the “Rejected URLs” field of the WP Super Cache options page. yourdomain.com/ will be cached still, but /index.php won’t.
  2. Frederick of frederickding.com put together another method. Add this line to your .htaccess file above the WP Super Cache line: “RewriteCond %{QUERY_STRING} !.gocode=.” It should look something like this:

RewriteCond %{QUERY_STRING} !.gocode=.
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]

螢幕擷圖

  • Links Page
  • General Settings
  • Edit Links

安裝方式

FROM YOUR WORDPRESS DASHBOARD

  1. Visit ‘Plugins -> Add New’.
  2. Search for ‘Gocodes 2’.
  3. Activate Gocodes 2 from your Plugins page.

FROM WORDPRESS.ORG

  1. Download Gocodes 2 plugin.
  2. Upload the ‘gocodes2’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc
    )
  3. Activate GoCodes 2 from your Plugins page.

FROM YOUR FTP Client

  1. FTP the entire gocodes directory to your WordPress blog’s plugins folder (/wp-content/plugins/).
  2. Activate the plugin on the “Plugins” tab of the administration panel.

ONCE ACTIVATED

  1. Visit ‘Settings -> Gocodes’ and adjust the preferences.
  2. Visit ‘Tools -> Gocodes’ and create your first link.
  3. Check your link works fine and enjoy plugin usage.

常見問題集

How do I add a redirect?

To manage your redirects, open your WordPress admin, and go to the Manage -> GoCodes menu. From there you can remove redirects by clicking on the “Delete” button next to their entries, and you can add new ones using the form on the page. The “Key” field is where you enter the redirection string (e.g. “orange” in yourdomain.com/go/orange/). The URL field is where you enter the URL that users will be redirected to (“http://” is required). Note that the Key can only contain alphanumeric characters.

Are the redirects search engine friendly?

As of version 1.0, yes. 301 header redirects are used, as opposed to 302 redirects. This ensures that search engines will not rank the GoCode URL, and move on to the target URL, thus preventing duplicate content problems.

I often create redirects to sites that I don’t particularly trust. Can I automatically nofollow the redirects?

Go to the GoCodes Settings page (Settings -> GoCodes) and tick the Nofollow checkbox. This will instruct GoCodes to send a “noindex, nofollow” message to search engines accessing a redirect.

使用者評論

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

參與者及開發者

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

參與者

將〈WPNeon GoCodes 2〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

  • Version 1.0 – Initial Release by previous author
  • Version 2.0 – Upgraded and re-released by new contributer,
    UI fix for new admin design in WordPress