«

»

Feb 08

Convert EasyAzon2 ShortCode to EasyAzon3 Easily

For those of you who have been using EasyAzon for years to sell Amazon affiliate products on all your WordPress blogs you probably have noticed that upgrading to EasyAzon 3 broke all of your older shortcode for EasyAzon 2.1 and older.  This is because the older shortcode uses [easazon-link-link] or [easyazon-block] instead of the newer code using underscore instead [easyazon_block] and [easyazon_image] without the link.

Well you don’t have to pull your hair out in frustration, there is a quick WordPress plugin called Search and Replace that will let you go through and make the short code changes automatically in your WordPress database for you.

Just download search and replace from WordPress.org or find it with Add New Plugins

After you install it and activate it, you click on Tools –> Search and Replace

image

Search for easyazon-block first and then click on the "field" dial for All – search/replace! and put easyazon_block as the field you are replacing that finding with.

Click go and you will see the results of the search and replace, you can see on one of my blogs I instantly found and fixed 238 posts that used the older invalid EasyAzon shortcode in less than 60 seconds, imagine if I had to manually update 238 posts to fix the code.

image

Now to fix the image part you go back to search and replace and put in the easyazon-image-link in the search section, and easyazon_image in the replace section.

image

Voila, you just replaced all of your EasyAzon 2.x broken shortcode with compatible EasyAzon 3.x shortcode with this easy trick.

Search and Replace gives you many more options as well for purging old plugin shortcode, if you retired any plugin that uses shortcode you can use this plugin to help replace it with new shortcode or simply remove it altogether, but be careful as this plugin does find and replace content in your database, there is always risk for harm.  I would make sure you backup your WordPress database prior to making any changes just in case.

EasyAzon is still my favorite plugin for earning Amazon Affiliate income for WordPress blogs, but it was a shame they changed the structure of the short code in the newest version which made the old code incompatible, there were sites I had with hundreds and hundreds of posts that needed code changes as a result. 

PS, I sell a lite version of EasyAzon if you are interested for only $3 which allows you to earn from images, it is a great way to test the lite version of the product before you choose to buy the full version.

Buy AzonPostImages for $3 and start inserting images into your WordPress posts to earn Amazon Affiliate Income.

Then if you really like it, upgrade to EasyAzon 3 and you can get full summary shortcode, localization, link cloaking, nofollow and so much more.

dragonblogger

dragonblogger

IT Security Manager who is also a part time technology blogger and loves all things Wordpress and Social Media
dragonblogger
dragonblogger
  • http://www.buys.pk buys

    Nice Post

  • zapin

    nice blog.

  • poonam

    Thanks for sharing this information.

  • govind vyas

    Thanks for sharing this information.

  • http://web9cloud.com Neha Sharma

    There is no denying that a quality training program assures your students have the tools they need to succeed in the job they do. To get quality training must visit web development sites. One of the India’s leading web development company (web9cloud) provides training along with.

  • Guest

    top essay writing services

  • Guest

    microscopic used mostly people for analysis of very little things

    and here available top essays writing service reviews available online

    and our focus on studies online .we make sure students get well quality content

  • Guest

    top essays writing service reviews