WordPress XMLRPC attacks – How to prevent

What is wordpress XMLRPC RPC stands for Remote Procedure Call. WordPress XMLRPC is a protocol which allows remote systems to communicate with WordPress. The language to communicate is XML. With WordPress XMLRPC support, you can post to your WordPress blog using many popular Weblog Clients. XML-RPC functionality is turned on by default since WordPress 3.5. […]
Read More

Mandrill decides to discontinue service as a separate product

Mandrill has decided to discontinue their service as a separate product and is becoming a transactional email add-on to paid MailChimp accounts. This means the free 15000 emails/month service which Mandrill offered will soon be no longer available. All Mandrill users will be required to have a paid monthly MailChimp account. Here are the timelines Starting March 16, […]
Read More

Moving wordpress site to a new server

Moving wordpress site or  any other site requires transferring atleast below mentioned files and settings to the new server Code and Media files residing in your public_html directory Database Cron Jobs Any Back up scripts or other shell scripts, snippets, config files, etc residing outside your public_html directory Some hosting companies like Siteground also provide free website transfer. […]
Read More

Adding a plugin textdomain / translation into wordpress

A plugin textdomain is required if you need to translate your own plugin in different langauges i.e. to internationalize the plugin. Here are the required steps Step 1: Decide the plugin textdomain name e.g. my_plugin_textdomain Step 2: Initialise the languages directory for the plugin textdomain Add below code to your plugin [crayon-592bd0fc62435549890750/] Create languages folder within your plugins […]
Read More

Create a WordPress staging site through shell script

Creating a wordpress staging environment requires 4 things. Here we are assuming that the staging environment is on the same server. Requirements for creating a wordpress staging environement Clone Database – Each Time Copy the code – Only the wp-content folder Edit wp-config to point to the Staging Database (single site only) plus the Staging Domain (multisite) – […]
Read More

How to update shipping cost in cart dynamically (ajax) based on a custom field in WooCommerce

WooCommerce by default offers only a few basic options to decide the way shipping cost is calculated. In lot of cases these options may not be sufficient and you may require to create additional checkout fields based on which shipping cost calculations are to be done Here are a few scenarios Distance based shipping costs. In […]
Read More