Single Must Use Plugins Directory for local development
Yes, you can set the WPMU_PLUGIN_DIR constant in the config file of each of the sites (and WPMU_PLUGIN_URL for the url). By default it is defined as: WP_CONTENT_DIR . ‘/mu-plugins’
Yes, you can set the WPMU_PLUGIN_DIR constant in the config file of each of the sites (and WPMU_PLUGIN_URL for the url). By default it is defined as: WP_CONTENT_DIR . ‘/mu-plugins’
Best way If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor … Read more
Pat J’s answer is correct but left out one important step. In wp-config.php the DOMAIN_CURRENT_SITE constant must be updated or the behavior that brandozz explains will occur. When updating domains for a WordPress Multisite: Update the DOMAIN_CURRENT_SITE constant in wp-config.php define(‘DOMAIN_CURRENT_SITE’, ‘my-domain-name.com’); In DB table named “wp_sitemeta” update “siteurl” meta key In DB tables named … Read more
For connection through ssh, you have to specify the ssh user using FTP_USER define( ‘FS_METHOD’, ‘ssh’ ); define( ‘FTP_BASE’, ‘/home/user/wordpress’ ); define( ‘FTP_PUBKEY’, ‘/home/user/.ssh/id_rsa.pub’ ); define( ‘FTP_PRIKEY’, ‘/home/user/.ssh/id_rsa’ ); define( ‘FTP_USER’, ‘user’ ); define( ‘FTP_HOST’, ‘localhost:22’ ); I think you also need to define FTP_BASE. You also need to enable ssh upgrade access. From the … Read more
If I choose to leave this up to WP, what should I actually put in wp-config.php? Sounds like something you can easily find out. My guess: if you don’t have the define(‘AUTH_KEY’, ..) etc. statements, the system will not work. Some sources (this SO answer, for example) appear to state that putting the keys and … Read more
No and even if you could, if the plugin ran out of available memory then the entire page generation would stop due to the fatal error. You’re better off fixing the plugin itself to not use as much memory or to just further increase the total memory allocated to WordPress/PHP.
Hm, core WP files are usually die properly if opened directly. It probably slipped developers to include check in this one or something. The simple ways to fix this (and not really WP-specific) would be to: configure PHP on server to not display errors by default; restrict access to file with .htaccess or other means.
Pam, It sounds like you are facing some major challenges, but I would highly recommend not messing with the table prefix. Doing so will lead to a series of problems, which will require hack after hack to remedy leaving you with a substantial mess of a WordPress installation. There are some other things you can … Read more
This question has been asked many many times before. Here’s the Codex: http://codex.wordpress.org/Changing_The_Site_URL The easiest thing to do is add a couple of lines to your wp-config.php define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’);
Basically, they’re hashing salts. They’re used to make the results of hashing much less predictable. See https://en.wikipedia.org/wiki/Salt_(cryptography) for info on salts. AUTH is used for the /wp-admin authentication cookie, SECURE_AUTH is for the same when using SSL, LOGGED_IN is used for identification to the “front-end” of the site. NONCE is used for the nonces that … Read more