How to move domain without losing SEO or subscription payments

I recently rebranded this website, moving from one domain to a new domain. In doing so, I had three major concerns:

  1. I’d lose all the SEO value I’d built up over the years for the previous domain – and therefore all the traffic I get from search
  2. I’d no longer be able to collect recurring payments for plugins purchased from the site on the old domain
  3. Users would not be able to get automatic updates for new versions of products

This is a step-by-step account of everything I did to ensure that my worst fears weren’t realised.

Read more

How to add a custom field to a WooCommerce Subscriptions variation product

There may come a time in your life when you’re working with WooCommerce and WooCommerce Subscriptions and you realise that you need to add a custom field to a variable subscription product. You can do this two ways – the easy way with a plugin, the harder way with some custom code. I’ll show both methods.

By the way, you can also take a look at this article on adding custom fields to WooCommerce variations.

Read more

WooCommerce Name Your Price

A WooCommerce Name Your Price plugin allows you to be flexible in how much you charge for your products – to such an extent that you let your customers choose how much they want to pay. You can set minimum and maximum price ranges, if you wish, or leave the price completely open-ended. You can even allow customers to set the price for optional extras within the product rather than for the entire product. Use Name Your Price to accept donations, build trust, or run special promotions.

Read more

Add WooCommerce tags to your plugin

I wasn’t aware of these two tags for WooCommerce till I noticed one of my plugins was reporting as not tested with the latest version of WooCommerce. In your main plugin file, not the readme, you can add:

 * WC requires at least: 2.5
 * WC tested up to: 3.1

These declare the minimum version of WooCommerce that your plugin requires and the latest version it’s been tested against.

More information here.