You can use one installation for four (or more) singular sites without multi-site. Just point all domains to the same directory with your WordPress installation. In your wp-config.php
set the necessary variables and constants depending on the currently requested host:
switch ( $_SERVER['HTTP_HOST'] )
{
case 'example.com':
$table_prefix = 'ecom_';
$table_name="ecom";
break;
case 'example.net':
$table_prefix = 'enet_';
$table_name="enet";
break;
default:
$table_prefix = 'wp_';
$table_name="wp";
}
You can change any constant or variable in the switch
of course.
To make plugin updates easier let all installations share one plugin directory.
Related Posts:
- restore_current_blog() vs switch_to_blog()
- Which asset URLs are acceptable in a “vanilla” MU install?
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- What do I need to do to convert my MultiSite from HTTP to HTTPS?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- Using MAMP and Xip.io to view a WordPress Multisite on a local network
- SSL wildcard issue for wp multisite subdomains
- How to set configuration options for particular sub blogs?
- REST API for Multisite
- How can I display all Multisite blogs where this user is administrator?
- Organize uploaded media files
- How to upload images manually to wordpress?
- Generate a user list per site to communicate upgrade plans
- Get all terms inside a specific taxonomy in a multisite
- Adding capabilities to super admins
- Getting a blog language (site “lang_id” field vs the WPLANG setting)
- wp-admin slow in multisite
- Can’t add user to blog on registration (Multisite)
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Customizing Deleted/Archived blogs warning pages
- WordPress Multisite – is it possible to put the main site in a subdirectory?
- W3 Total Cache – How to disable “Performance” menu under multisite? [closed]
- How to clone and locally run a network for testing
- Multisite without .htaccess
- How to prevent first post and first comment on WP MU?
- Why is my multisite installation not showing all the available sites?
- Is Partial SSL Possible? ( multisite )
- In Multisite “Sites” list, what do “deactivate” and “archive” really do?
- WP_INSERT_POST issue on WordPress Multisite
- How to Rename wp-login.php for Multisite?
- What is the most efficient way to have two “blogs” on one site?
- Preview posts returns 404
- How can I have multiple URLs pointing to single WordPress installation?
- Why does the My Site dropdown show only a single domain?
- Does WordPress MultiSite use separate MySql databases?
- Create a network of blogs with WordPress 3
- Performance on WPMS
- Retrieving data from specific multisite blog
- Error 404 on Network Admin and others
- Network Plugin Creating Pages for Different Subdomains
- Get just subdirectory name from a multisite URL
- Problem uploading images
- Multisite – 404 when accessing sub-sites
- Redirect Site Geologically
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- Multisite: How can I have the admin bar (toolbar) use the language of the user instead of the language of the sub-site being viewed?
- .htaccess rules for blocking bots with an extra condition
- Wrong filepaths and admin page infinite reload after migrating to aws bitnami
- Do I need a Multisite? [closed]
- How to host unrelated pages on WordPress domain
- How can I overhaul a live MultiSite network?
- Update configured themes
- Make uploads live outside of the WP folder
- Multi-Site Subfolder User Permission Issue
- Programmatically Add Item to WP Multisite Menus
- why there is a large file named core in wpmu’s directory?
- WordPress multi-site, developing locally and syncing live changes
- wp_get_attachment_image_src on multisite
- Problem with parked domain for my mutisite
- WordPress multisite – What’s the ideal setup for development/staging/production environments?
- WordPress self hosted site asking to login again when used www
- How To Run Multiple Multi-Site Networks On Same Box [closed]
- Changed sub-site to its own domain trigger 302 redirects for all page links
- Multisite – big hosting package or several hosting packages?
- WordPress network vs Separate installs
- 404 on page 2 multisite
- How can I append blog_id to … echo [functions-defined-constant]?
- Page Builders and WP Multisite
- WordPress Multisite Add User
- Which is the correct way to migrate content from single WP to WP multisite
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Some permalinks are not working and show 404
- WP MS: How to query over the network
- unable to access network admin of a blog
- Is a multisite install what I need?
- Infamous admin login redirect
- Manually Moving Posts/Pages/Comments/Tags from WPMU to WP3.0
- Setup another new subdomain root on top of multisite configuration
- WordPress keeps deleting user account for multisite after loggin out i need your help please?
- Create link preview for theme wordpress
- Bitnami multisite change URL of secondary blog
- Language per user role, how can I achieve this?
- Internet explorer not finding right content from multisite
- Change WordPress multisite to sub-folder installation
- How to add a link of “one” website in posts of “second” website in multisite WordPress
- Themes are visible in Network, but invisible in sites
- logging out with/without confirmation – single site, multisite
- No debug log for WP multisite is created
- Possible to have duplicate usernames on different two multisites
- Main site media are accessible in subsite domain
- Multisite – each site with it’s own set of users
- Including non-wordpress pages within a single multisite domain
- How can I import posts into different wordpress multisites at once?
- Migrate site from WordPress multisite to another WordPress multisite
- Split a Multisite Into Single WordPress Websites
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Should I go for Multisite or separate WP Installation?
- Multiple WordPress sites on one hosting [closed]
- Many big issues in the website, WP_Debug not showing
- WordPress MU: Cookie error when trying to login on network WP instance