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 http://wordpress.org/support/topic/default-multisite-redirect-to-one-particular-blog?replies=8 1) In Network Admin -> Sites and edit the site you want to be the new ‘main’ domain so it’s url is http://example.com (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) […]