LimitInternalRecursion error

I removed following lines and errors vanished. RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]

how to install wordpress HyperDB

The theory behind how HyperDB and such plugins work is that they use a simple calculation on the blog number to allocate a DB for it at creation time, and access it later. I am not sure what exactly happens when you need do add a new DB server, you will either need to look … Read more

WordPress Multisite URLs and Multiple Updates

This page of the Codex refers suggests the plugin WPMU Domain Mapping. Additionally, you can map domains like example1.com, example2.com, etc, however a plugin is suggested (like WPMU Domain Mapping). You can make the changes directly in the network settings, but it’s considered advanced administration.

Changing Domain Name Broke Database

If you navigate to your database which is storing the WordPress website and look under the wp_options table. You should find under the option name siteurl and home. Change these to the new updated url for your website. See this for more information https://codex.wordpress.org/Changing_The_Site_URL

WordPress Multisite Add User

Ok, so this isn’t possible to do by default. As I already had a hook for wpmu_activate_blog() I just created another with a lower priority which will be fired after. This function also has the 2 parameters I need. So upon activation of the account I simply remove Admin role and set a new role … Read more

How to delete user from MU site when the user is removed from their site?

The function you are looking for is wpmu_delete_user($user->ID) I wrote a small plugin to delete users across the whole network by role: <?php /** * Plugin Name: Regbox Delete multisite users * Plugin URI: http://www.regbox.se/delete-multisite-users * Description: Delete users by role across network * Version: 0.1 * Author: Adam Rehal * Author URI: http://www.regbox.se * … Read more

Multisite network admin – User’s role not showing up

This worked for me: Make sure the row in option-table in the database for wordpress-site have the correct option_name for the serialised roles-data. For instance; if the database-table is wp_options, the column option_name in the role-row should be wp_user_roles. if the database-table is wp_20_options, the column option_name in the role-row should be wp_20_user_roles. Don’t ask … Read more