WordPress Multisite – Domain Mapping

As you might already know, this is done via the Edit button for the site. That contains all of the wp-options table rows for that sub-site. I always go through that entire list (it is long) and change all occurances of www.example.com/site1 to www.mydomain.com (the domain name for that subsite). Many plugins/themes store info in … Read more

Displaying Multisite ID number

If the shortcode you’re using provides a standard format filter for the shortcode attributes, then you could perhaps try something like this. function filter_shortcode_atts_sectionsforce( $out, $pairs, $atts, $shortcode ) { // is filter set and it contains our dynamic tag if ( isset( $atts[‘filter’] ) && false !== strpos( ‘Playhouse__c=\’site_id\”, $atts[‘filter’] ) ) { // … Read more

local wordpress multisite not working on AWS development server “error establishing database connection”

there are several reasons why you can get this type of error, invalid credentials: this you said you have checked, so likely not the reason. corrupt WP files: when moving server, it is possible that the files copied (zip archived) were somewhat corrupted. this would cause can such an error. corrupted DB: again, the DB … Read more