WordPress.org

Ready to get started?Download WordPress

Plugin Directory

GoCodes

An URL redirection/shortener plugin. Great for podcasting and redirecting affiliate program URLs.

Upgrading

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

Upgrade notes: * You may use the autmoated plugin updater in WordPress 2.5+ with this plugin, but make sure you read the upgrade notes of the latest version after upgrading. * If you are upgrading from GoCodes 1.1.1 or prior, remove the gocodes.php file, and upload the new gocodes directory. To ensure compatibility with WordPress 2.5, some changes were made that expect gocodes.php to reside in a /gocodes subdirectory * If you are upgrading from a version prior to 1.2.1, you must update your .htaccess file again. Change the line RewriteRule ^go/([A-Za-z0-9]+)/?$ /index.php?gocode=$1 [L,R] to RewriteRule ^go/([a-zA-Z0-9_-]*)/?$ /index.php?gocode=$1 [L,R]. * If you are upgrading from a version prior to 1.3.0, it is recommended that you remove the old .htaccess lines as they are no longer required, and may interfere with some functionality.

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]

Version history

  • Version 1.0
  • Version 1.1 - Adds hit count and uninstaller
  • Version 1.1.1
  • Version 1.2 - Ensures total WordPress 2.5 compatibility, adds the ability to edit redirect entries and reset hit counts. Some interface improvements introduced as well.
  • Version 1.2.1 - Adds support for dashes and underscores in redirection keys. See upgrade notes if you are upgrading from an older version.
  • Version 1.2.7 - 301 redirects are now used instead of 302. Some UI improvements, and a minor .htaccess change (thanks Terriann!).
  • Version 1.3.0 - Automatically nofollow redirects, replace the /go/ with your own text, sort the Manage GoCodes table, .htaccess is no longer required.
  • Version 1.3.3 - Hopefully the PHP4 bug in the 1.3.x line has been fixed, finally.
  • Version 1.3.5 - UI fix for new admin design in WordPress 3.8

Requires: 2.4 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-14
Downloads: 84,627

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
0,1,0
67,3,2
57,7,4
20,5,1
100,2,2
100,2,2
25,4,1
100,1,1
100,1,1
100,1,1
75,4,3
33,3,1
100,3,3
100,1,1
100,1,1
0,1,0