Multilanguage site with two domains

I recently answered a very similar question. Instead of having 2 separate websites, it’s far easier to install a translation plugin. The plugin will basically add extra fields or tabs in edit mode. For example, if you are editing a page titled “Home”, you will have a field for the English page title and then … Read more

web.config breaks the themes for sub-directory multisite

I asked our hosting provider for help and they modified the first web.config to work. <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <!– <security> <authentication> <basicAuthentication enabled=”false”/> <anonymousAuthentication enabled=”false”/> </authentication> </security>–> <rewrite> <rules> <rule name=”WordPress Rule 1″ stopProcessing=”true”> <match url=”^index\.php$” ignoreCase=”false” /> <action type=”None” /> </rule> <rule name=”WordPress Rule 2″ stopProcessing=”true”> <match url=”^([_0-9a-zA-Z-]+/)?files/(.+)” ignoreCase=”false” /> <action type=”Rewrite” … Read more

Making 2 WordPress sites mutually searchable and more

The online resources I’ve read suggest this will allow me to use different plugins and themes on the two sites whilst allowing a search from either site to bring up results from both sites. Is this correct? Yes, is correct. In multisite environment you can install different plugins/themes for different sites. Once the database is … Read more

add_rewrite_rule on multisite doesn’t work

It seems the problem is not with add_rewrite_rule rather with the .htaccessfile for the multi site. One of the test addresses was http://example.com/foobar/def/whatever.php Here’s a part of the htaccess which causes the result (Line 2) RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] If I comment this line out it works … Read more

WordPress Multisite new sites in directory

Is it possible to make a wordpress multisite on domain.com and then every site that I make goes to domain.com/directory/newsite? no, this is not possible without some major code hacking as far as I can tell. I run a few multisites, and I have some local installations to play around and didn’t manage to find … Read more

How can I update dev links for a live site?

I’d recommend the following: (no affiliation) https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ For some reason I’ve had odd experiences with the search and replace db plugin recently. Also, I’d avoid using the defines in your wp-config.php file as some plugins do not use it and show strange behavior. Better to update the wp-options table for those two options if at … Read more

Reset a site in multisite

Before you select WordPress Reset to use, please check Plugin Author comments here. You can only use this plugin on the sub-sites, not the parent/master site of the multisite install. On each sub-site you use it on, it should reset the sub-site back to the original, just installed/created status. This plugin has never really been … Read more

error code: 521