I enabled the multisite network on my main website (http://example.com) added subdomain (http://pt.example.com) pointing to another directory. I got confused after this step. I installed a new wordpress on this directory with new database
A multisite WordPress installation shares a single copy of the WordPress files, and a single database. Each site within the network gets a separate set of tables in the database, but it’s the same WordPress installation.
You should not create a separate folder and reinstall WordPress as you did. You should create the new “site” on the main WordPress installation and configure it (as it sounds like you did), then point your DNS for the subdomain to the same host (or virtual host) as your main WordPress installation.
Related Posts:
- Switching primary site in WordPress Multisite
- Multisite Network Port Num Issues?
- $wpdb->base_prefix not get parent site prefix in multisite
- what are pmxi tables? [closed]
- Use wp_nav_menu() to display a Menu from another site in a Network install?
- How to set an option for all sites in my network?
- How to set up wordpress domain mapping on MAMP Pro
- How to hide admin account in BuddyPress? (for security reasons)
- Issue with Custom Roles in Multisite
- Force plugin to be activated only from multisite network dashboard [duplicate]
- Delete sites in wordpress multisite (not suspend)
- Generate WP-CLI @alias for each site on multisite
- Shared Content but “Updatable” Through the Main Site
- How to customize the wp-signup.php for a multisite network?
- Get first_name and last_name on user_register hook
- User registration on subsite in multisite configuration
- Multisite, turn off “create new site”
- Hard Code Pages into a Theme for a Network (multisite) Installation
- How to Structure WordPress for an Organization and its Departments?
- Allowing logged in users to comment without moderation across a multisite installation
- Redirect all users, except network administrators, from the main site to a subsite
- How to get the via url (or site name) on a wordpress network’s home page?
- How To Modify New Sub Blog Immediately When Super Administrator Creates It?
- WordPress multisite htaccess
- Create New Site (multisite); can’t get subdomain to work
- Subdirectory multisite – only root admin available on NGINX
- How to Run Code Before a New Site is Created on MultiSite for Validation
- How to use JSONP to make AJAX request to different site on network
- User registration on sub site
- Add custom user fields in Multisite USERS page
- WordPress multisite with multiple parent domains
- WP 4.4 – domain mapping for sites within a multisite network?
- Can I use two different domain names with a WordPress multisite network?
- Restrict Admin Capabilities in MultiSite
- Installing multisite on domain with existing subdirectory wordpress installations
- wp_redirect not working on admin menu page
- Bootstrapping WordPress MultiSite Outsite of WordPress – No $wpdb
- Poor performance on multisite install
- How to disable the default WordPress redirect to non-www URLs?
- Bulk theme settings in wordpress multisite
- Permalinks not working using wordPress Networking with custom post types
- Should I use a multisite installation to achieve a multi-language site?
- Multisite domain naming
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Can is_page and is_front_page both be true?
- Switch a single site to a multi-site
- migrate a MU sub blog to a single install
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- Preferred method of setting user role only works on Main Site in Network
- WordPress Multisite with Addon Domains (not parked domain) [closed]
- Using the standard WordPress “New User” interface on a multisite
- Add multisite switch button. Click to switch to other page in same admin area
- WooCommerce Multisite — importing products IN subsites FROM main site
- Efficient way to handle translations with Multisite WordPress installation
- InfiiniteWP and WP Networks (multisite)
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- Why doesn’t wpmu_new_user work from a plugin when it does from theme?
- MU/Subdomains + Domain Mapping + SSL?
- WordPress Mulitisite – Unable to create directory
- network site domain mapping still applied after being removed
- Can WordPress Multisite (MU) subdirectory url/slug/permalink be changed?
- Add access control origin header information across multisite
- How to exclude specified from all list of Multisite
- Create WordPress Multisite Instance Programmatically
- Multisite Login problem
- How can I use different domains on a WP multisite install?
- WordPress Multisite Network to replace 3 seperate WordPress installations
- WordPress MultiSite Won’t Work on Google AppEngine
- How to create a blogs category page with Blog-Types Plugin
- Add Network Sites are not working
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite install with subdomains on a subdomain
- Multisite loads assets from main site
- Possible to reverse proxy WP multisite to a separate server with NGINX?
- How to hold posts and accounts for moderation on WordPress Network site
- Problems with WordPress multisite directories/url structures and admin access after migration
- Enable HTTPS for AWS hosted multisite domain (with AWS purchased SSL) on already created Load Balancer?
- WordPress Multisite with Wildcard Certificates not mapping correctly
- Fix nested WordPress multisite resource path?
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- wp multisite domain don’t work
- Multisite WordPress Configurtion
- How to reconnect database to existing wordpress multisite setup after changing site name
- Multisite, different domains, optional subdirectory, and htaccess
- Multisite vs Role Scoper
- wordpress multisite not installing
- Force multisite to use subdirectories on previous wordpress installation
- Make a select where the options are the different multisites
- Redirect extra url to Multisite in folder
- Development (multi)site indexed – recommendations to redirect 301 to correct url?
- Setting up wordpress on a hosting server for the first time
- How to display update message only to admin
- Is there a full explanation on how to share a database with two WordPress sites on same server?
- List all sites in multisite
- wordpress multisite is broken in nginx but working in apache
- Mixing a custom php index page with multi-site installation
- Help with image directory issues on wordpress multisite
- Multisite with Static home page mixed with separate domain name
- What could be changing my WP password and blocking plugins from installing?