WP-CLI Error Requesting CURL Extension

Though, curl appeared to be properly working from https://localhost.sitedomain.com/phpinfo.php , the true cause of the error was that curl was in fact disabled within the global php.ini file located at /etc/php/<php version #>/php.ini , which is different from local active php.ini located at /etc/php/7.3/apache2/php.ini . Now everything works properly.

Change WordPress multisite to sub-folder installation

Top Admin bar of a multisite: Choose My Sites, Network Admin, Settings. You have to be a SuperAdmin to do this. Note that the super-admin admin page is different from the first sub-site’s Admin page. Link location is https://www.domain.com/wp-admin/network/settings.php , where you change the domain name to your domain. ** CORRECTION ** I was thinking … Read more

Remember language choice on multisite website

setcookie() has the following signature: setcookie ( $name, $value = “”, $expires = 0, $path = “”, $domain = “”, $secure = FALSE, $httponly = FALSE ) You’re setting the cookie’s value to 1 in your code. I suspect you intend to do something more like setcookie(‘language’, $_GET[‘language’], time() + 1209600, “/”, “example.com”, false); Notes … Read more