Broken image multisite

After reading several topics about this issue I’ve found this: Issues with old WPMU installs If you installed WordPress MU in subfolder/subdirectory (not in root folder on your server >via ftp) and you have problem with image library, where thumbnails and images do not show, >you may need to manually add in rewrite rules for … Read more

Auto create pages on WordPress multi site register

Not sure about multisite, however it usually works similarly to single site, so the following info may be useful: There is a pluggable function (ie you write your own which will run instead of wp’s function) “wp_install_defaults” Put your function in a ‘dropin’ plugin for install.php and wp will use your function to create defaults … Read more

Multisite configuration fails with css/js files

The problem was in the .htaccess file the installation script generated. Specificaly, those two lines: RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) home/itaymoav/dev/lmspages/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ home/itaymoav/dev/lmspages/$2 [L] The path in there is the actual path to the files. While it had to be the relative path from root dir of the worpress installation. Or, to put it simply: RewriteRule … Read more

Domain redirect in WordPress multisite

What I want to do is redirect www.domain2.com to www.domain1.com/domain2. Then you don’t want to do it via htaccess. You need to use the WordPress MU Domain Mapping plugin. Map any blog/site on a WordPressMU or WordPress 3.X network to an external domain. Also see: WordPress 3.0: Multisite Domain Mapping Tutorial The other day, Klint … Read more

What is the best way to setup wordpress development environment for freelancers with version control?

Have you looked at VVV ? Varying Vagrant Vagrants is designed to support WordPress plugin and theme development using vagrant boxes and github version control. https://github.com/Varying-Vagrant-Vagrants/VVV Re Github/Bitbucket – you may possibly use one master and then have a branch per subdomain if there is enough commonality, but from the very vague information you have … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)