Complex WordPress Website

From my perspective, you have 3 options: WordPress Multisite. 2 separate WordPress sites with a common landing page. 1 WordPress site with custom logic to determine content (store location). Each direction has disadvantages, but each of them is possible and will result in a perfectly fine end product. I cannot provide a recommendation. You need … Read more

How do I find where the current value of the option ‘registration’ in the SQL database?

Note that the function get_site_option() works a bit differently from get_option() on its own. On WordPress Multisite (ie, with Network Mode enabled), there are two different kinds of options: site-specific options, which are stored in the individual options tables for each blog (wp_options, wp_5_options, etc). These options are accessed with get_option(), update_option(), etc. Note that … Read more

Multisite domain mapping breaks CSS

This is an old question, but I just ran into this same issue and found the problem: the MU Domain Mapping plugin is using a deprecated constant, PLUGINDIR, to remap the plugin directories on the mapped domains. The plugin seems to be very vaguely developed nowadays (and no releases have been out for a year), … Read more

get_option( ‘home’ ) not returning value in database

This may not be the answer in your case, but worth mentioning for anyone in similar situation. You can change “home” in the network admin’s edit site page. Direct link – if you know the blog id number add that to the end of: yoursite.com/wp-admin/network/site-info.php?id= Or go to: http://yoursite.com/wp-admin/network/sites.php and find and edit the site … Read more