How to prevent plugin, theme installation failures on WordPress?

I am unable to install any theme/plugin to my wordpress 3.0 Downloading install package from http://downloads.wordpress.org/plugin/contact-form-7.2.3.1.zip… Unpacking the package… Installing the plugin… Could not copy file. /public_html/blog/wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.po Plugin install failed. Downloading install package from http://wordpress.org/extend/themes/download/piano-black.2.2.zip… Unpacking the package… Could not create directory. /public_html Downloading install package from http://downloads.wordpress.org/plugin/contact-form-7.2.3.1.zip… Unpacking the package… Could not create directory. … Read more

How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?

I build a lot of websites with WordPress, and my initial setup is basically always the same : Latest version of WP Latest versions of about 5 plugins My naked development theme Instead of downloading/uploading these things separately and do that by hand each time I start a new project, I’d like to create a … Read more

Add additional Network constants to wp-config.php dynamically

When starting with a fresh Network install, the first step is a single site install that has one additional line in the wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true ); After that we have to go to Tools > Network Setup, enter some details like network name and super admin email and finally hit the button to … Read more