Hot answers tagged

7

As @tom-j-nowell said in comment to OP, multisite can make this easier. Performance and security are not really a problem for multisite (at least, not more than they are for regular installations), but I do agree that multisite can sometimes be a problem, because a lot of plugins (either custom or 3rd party) may not work properly on multisite, or maybe ...


3

As @AntonChanning said, a multisite installation in WordPress is called a Network. You can easily create a network following the instructions in the codex. You can choose to work with subdomains or with subdirectories, like you want I guess!


3

As far as I remember the users in multisite are shared. They are tracked in one database table and use same cookie for authentication. The more practical approach is to track not merely login status, but capabilities. Users should be exposed to actions/information that they can perform/see, according to their Role on specific site. You don't cover your use ...


2

As per the instructions for setting up WordPress MU Domain Mapping, sunrise.php needs to be placed directly in your /wp-content directory. It's not a plugin in the traditional sense, so can't be placed in mu-plugins (or even plugins for that matter). Setting up this plugin can take a bit of manual work so take care to follow the instructions carefully, ...


1

I figured this out right after I posted the question but thought it would help someone who ran into the same issue. I have to go to: Network Admin -> Sites -> edit a site -> Settings -> change "site url" and "home"


1

After a little bit of trial and error, I finally got my code to work. This will redirect http://example.com/wp-admin/plugins to http://example.com/wp-admin/admin.php?page=pretty-plugins.php if the current user doesn't have access to update core. add_action( 'admin_menu', 'block_direct_plugin_page_access' ); function block_direct_plugin_page_access() { ...


1

When I move domains and have to change the domain in the database, I use interconnectit's Search and Replace tool. Here is a very brief overview of the process. Export the database and upload it to the new server. Upload interconnectit's Search and Replace tool to the new server. Configure what I want to be replaced in the databases with the tool's GUI ...



Only top voted, non community-wiki answers of a minimum length are eligible