WordPress Plugin – QR Redirector

Description

QR Redirector lets you set up your own QR Code redirection site. The plugin creates a new custom post type called QR Redirect, which generates a QR code that points to the post’s permalink. You may then specify any URL you like for the post to redirect to. Useful if you have an offsite contest, form, newsletter sign-up, etc. You can even change the URL you’re redirecting to without having to worry about updating the QR code in your advertising media.

This allows you to continuously reuse your QR codes on printed or linked marketing material… you can change the destination you’re sending your users to without ever having to change the artwork you’re using to promote it.

This plugin is the second incarnation of the QR Code Redirect plugin. It was developed to be self contained after the Google Chart API deprecated its QR Code generation service. Instead of relying on a third party service to generate the QR code, this plugin uses the PHPQRCode library by Dominik Dzienia, and stores the QR image on your website.


Download

WordPress Repo: http://wordpress.org/extend/plugins/qr-redirector/

Direct Downloads:

Version 1.211/20/13
Version 1.1
7/22/13
Version 1.0
10/19/12

Screenshots


Contributors: kionae
Donate link: http://nlb-creations.com/donate/
Tags: qr code, redirection
Requires at least: 3.2.0
Tested up to: 3.4.2
Stable tag: trunk


Installation

  1. Upload plugin .zip file to the /wp-content/plugins/ directory and unzip.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Add new redirects under the “QR Redirets” menu option.
  4. Use the shortcode discussed in the FAQ section to display the code on your site.

Frequently Asked Questions

How can I add my QR code to a post?

Use the following shortcode:

where id is the post ID of your QR Redirect. This shortcode will be generated on the edit page for each of your QR Redirects for you to copy and paste.

If I need to change the URL I want to redirect to, do I have to update the QR Code image in all of my ads?

No. The QR Code points to a WordPress permalink on your site. The only time you would ever have to switch out an image is if you change your site’s permalink settings, and thus change the permalinks of the QR Redirect posts. Presumably this is something you won’t be doing too often, if ever.

What happens if I change the size or error correction level?

A new image with the appropriate settings will be generated and the original image will be removed from your site. Any shortcodes in use on your site will be automatically updated. Printed versions of the old image will still function, but if you were hotlinking the original image somewhere outside of your website you will need to update it there. If you have previously uploaded to old image to another site, rather than hotlinking, it will still function.

Why do I need this?

QR Codes on their own are static. In order to update them, you have to generate a whole new image (which would suck if you were putting them on flyers or some other printed medium and suddenly needed to change them). This plugin lets you point your QR code’s embeded URL to a different web address if you need to. For example, if you are using an off-site service to host a contest, you can point a QR code at that site for the duration of the contest and later change it to point to another page with the contest winners.

How are your QR Codes generated?

Using the PHPQRCode library by Dominik Dzienia. This is PHP implementation of QR Code 2-D barcode generator. It is pure-php LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.

For more information, see: http://phpqrcode.sourceforge.net/

Why did you turn this into a new plugin instead of just updating the old QR Code Redirect plugin?

Largely because of the new way in which the QR codes are generated. Users would have had to resave all of their old QR Redirect posts in order to generate the new images. This didn’t seem very user friendly to me.

Additionally, not everyone may want to host QR images on their own site. The old plugin will continue to function until Google removes the QR functionality from its Charts API. I decided that this would be a good way to give people the option of hosting the images themselves, or letting Google do it for them.


Changelog

1.2

  • Fixed issue for people who have changed the default name of their wp-content directory.
  • Minor fixes of PHP warnings and for WordPress 3.7 compatibility

1.1

  • Fixed an issue that was preventing the QR Redirector menu option from displaying when certain plugins were activated.

1.0

  • Initial release

Upgrade Notice

1.2

  • Fixed issue for people who have changed the default name of their wp-content directory.
  • Minor fixes of PHP warnings and for WordPress 3.7 compatibility

1.1

  • Fixed an issue that was preventing the QR Redirector menu option from displaying when certain plugins were activated.

1.0

  • Initial release

Tags: , , , ,

13 Comments to "WordPress Plugin – QR Redirector"

  1. [...] a QR code that points to the post’s permalink. You may then specify any URL …See on nlb-creations.com Share [...]

  2. Alain RONK says:

    Hello,

    Your plugin is very great and it’s work very well !

    But, in the administration panel of WP, there is not a small image next to the name, QR Redirects.
    View example

    Can you insert a small logo, please ?

    Best regards
    Alain

  3. peder says:

    Just getting 404 error on this plugin it does not redirect to the site?

    Tested your screenshot and that worked

  4. Alain RONK says:

    OK, no replie…

    But, I found it!
    In the file qr-redirector.php, delete “/” written before the name of the icon : qr-menu-icon.png

    View example

    That’s all!

    Thank you!

  5. Staff says:

    Thanks for the plugin and the article. Is there any way to automate the redirected link every week? I want to use a qr code to send customers to a “weekly offer” (each offer will be its own page on the site) without having to manually change the link every week.

  6. I am unable to view this plugin in my menu bar. How to I do step 3: Add new redirects under the “QR Redirets” menu option? I would like to view the stats as well as have the availability to change the url connected to that QR code if needed.

  7. Peter says:

    This plugin is super. What a time saver. I am so happy to find something like this I’m almost……well…..you know.
    Thanks
    Peter

  8. dave says:

    it doesnt make an image for me. i am no longer using the folder wp-content has been changed to xxxxxxxx-content long ago for security. it seems it is trying to save a the image into this file as the url of the failed image includes wp-content which doesnt exist for me

  9. Stephanie says:

    Is it advisable to replace QR Redirects with QR Redirector? Can they both function at the same time? Will the QR Codes that I created with the Original QR Directs plugin still function if I replace QR Redirects with QR Redirector?

    • Nikki Blight says:

      It’s sort of a mixed bag.

      It’s advisable to replace the older plugin in that the new QR Redirector is self contained and doesn’t rely on a Google service that is slated for retirement.

      But the two plugins won’t work in tandem, since QR Redirect is really just the same plugin but with a different image generator and uses a lot of the same function names.

      The reason I didn’t just make QR Redirector an update to the old plugin is because it would have resulted in having to regenerate any existing QR code images. They would have functioned the same, but the image would have been entirely different, and I didn’t want to cause confusion.

      The QR codes that you created with the old plugin should still work with the new one… with the caveat that if you are displaying the QR on your site, you’ll need to resave the QR Code so that a new image is generated. If you’re using the QR Code elsewhere (for example in a printed item), it will continue to function.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Nikki Blight – Web/PHP Developer