All posts by imonhf

Fix cordova update problems

The best solution is to A. remove all existing installations of cordova, node and npm. Then B. reinstall latest node C. update npm D. install latest cordova A. To uninstall node and npm follow the steps – 1. Uninstall from Programs & Features with the uninstaller. 2. Reboot (or you probably can get away with […]

Changing the default site of a WordPress multisite/network installation

from 1) In Network Admin -> Sites and edit the site you want to be the new ‘main’ domain so it’s url is (remove the subdomain or subfolder path totally). 2) Change the define(‘BLOG_ID_CURRENT_SITE’, 1); to whatever you want. Save it, upload it. DO NOT CHANGE SITE ID, YOU WILL BREAK THINGS. 3) […]