Is there any plugin hook that I can latch onto once a site is freshly installed?

To customize a fresh new WP install, there are a bunch of pluginable functions that can be overridden. Namely wp_install() and wp_install_defaults(). And wp_new_blog_notification(). I’d like to override a couple of default options without needing to keep custom versions of the latter in sync with core in my wp-content/install.php file. I’m not finding any obvious … Read more

“RuntimeError: Make sure the Graphviz executables are on your system’s path” after installing Graphviz 2.38

I downloaded Graphviz 2.38 MSI version and installed under folder C:\Python34, then I run pip install Graphviz, everything went well. In system’s path I added C:\Python34\bin. When I tried to run a test script, in line filename=dot.render(filename=”test”), I got a message RuntimeError: failed to execute [‘dot’, ‘-Tpdf’, ‘-O’, ‘test’], make sure the Graphviz executables are … Read more

When WordPress Does Not Provide an .htaccess File for New Multisite Sites because of CPanel Fantastico Auto-Installer?

I have installed WordPress via an auto-installer and later configured it as multisite. But whenever I create the WordPress site using auto-installer it doesn’t give me the .htaccess file by default. So I’ve created an empty file with the name .htaccess in CPanel and pasted this code in to it: RewriteEngine On RewriteBase / RewriteRule … Read more

One WordPress install serving multiple virtual hosts

I have a number of WordPress-enabled sites setup as virtual hosts under XAMPP on a Windows 7 development server. An example virtual host is as follows: <VirtualHost *:80> ServerName siteA.localhost DocumentRoot “C:/htdocs/siteA” </VirtualHost> My goal is to have all the sites use the same WordPress install, which is located in it’s own folder off the … Read more