You cant have 2 sites that uses the same data from the same database
, because of how WordPress works (permalinks etc), i am guessing you want to do this to show 2 different themes, 1 for the desktop version
and 1 for the mobile version
, try doing that with 1 WordPress installation and change the theme based on the device with a detecting class
either from a plugin
or make one
.
I recommend you to use a stylesheet instead of having 2 themes.
Related Posts:
- Sub-domain or 2nd, temporary different domain?
- Using same database for main and subdomain
- Auto login subdomain from main domain on single sites with different DB
- phpMyAdmin – Error > Incorrect format parameter?
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Why is my database import losing text widget data?
- Why WordPress choose data serialization over json_encode?
- Relaunch 4.2 utf8mb4 database upgrade
- Are There Any Plans for WordPress to Support Databases Other Than MySQL?
- Reset Post IDs to less than 64bit integer
- Where can I find the database changes between WordPress versions?
- how can get database name in wordpress?
- Does WordPress use the InnoDB engine for MySQL by default?
- $wpdb->prepare() warning in WordPress 3.5
- When is it appropriate to create a new table in the WordPress database?
- Best way to import users, post and categories from an external database
- Performance tips for a large user base [closed]
- How to delete outdated, wrongly sized images in _wp_attachment_metadata?
- Long option names fail silently?
- wp_options is GB in size
- Can’t update database after wordpress update from 3.8.1 to 4.4.1
- Relationship between performance and database size
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- WordPress and automated MySQL backups to a different host
- Size article thumbnails and retrieve them directly from database
- Database error Deadlock found when trying to get lock; try restarting
- Should I be able to run two different “close” code versions of wordpress with the same DB
- update_user_meta() does not work
- how to store arrays into a database
- How can I create a Bible search engine via WordPress? [closed]
- Error establishing a database connection; After importing DB & Theme
- Where are WP_Errors Saved
- Get all images from this database table
- Delete transients in website
- Error establishing database connection – high traffic?
- wp_get_current_user always returns 0 continued
- Bulk-create posts from SQL database
- I am switching laptops. I host my WP server through MAMP. I want to transfer [closed]
- How can i customize the export personal data file?
- Is there a solution to auto-post data to a WP post from a database
- Logins from WP users table use on another page
- 2 WordPress sites with 2 databases but sharing the same users
- Insert Query not working in the form
- How to get nav_menu_item_id and slug from wp database
- Enter user registration information in the database
- connecting to DB from custom php file
- Is there a way to execute a php script outside WordPress?
- Make changes of wp-db.php file persistent against updates
- Importer fails to import every post
- Change the default data installed when setting up WordPress
- How to delete post comments from the database via SQL statement?
- Clear Terms from Taxonomy for Specific Post IDs?
- Buddypress avatar image in database [closed]
- WordPress security [closed]
- How to split the WordPress database?
- $wpdb->get_var – What value is returned when zero records are found?
- WordPress SQL – How to Check for Category?
- SymmetricDS in dev + prod workflow?
- Fixing YARPP plugin FULLTEXT MySQL indexing
- Advantages of dbDelta
- Only allow user to access a link once a year, based on their joining date
- Error establishing a database connection in wordpress site , website not opening
- Counting post and changing roles in mysql database. Query not code
- wpdb Insert unknown post data dynamic foreach loop
- How do I use a database in a custom theme?
- Deleting empty meta key values
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- WP 5.5, child themes, customizer and a weird cache issue
- “BS_” rows in postmeta table
- Migrating meta_key and meta_value from old theme to new one
- How do you enable scripts on a WordPress installation in Softaculous?
- How to rerieve comments and their replies from DB
- Inserting data with Geometry field
- I Want a More Concice Form of Data than an Array
- Export only a part of the database for migration
- Why am I being prompted to reinstall wordpress?
- What’s the easiest way to connect external database and display data on wordpress?
- Duplicate database to roll back theme & content changes
- database error WordPress move from one hosting to other
- Select data from foreach loop and send it to wordpress database
- mySQL database size large, but tables size less
- Error establishing database connection error during first WordPress run
- Same DB for live and dev versions
- update multiple user meta field based on another meta field
- After renaming MySQL database, I can no longer access my Blog page
- execute custom function on database connection error
- Call to a member function insert()
- Create a new table on the database and save parameters from a contact form
- version control for wordpress? (wordpress folder and database at same time)
- not saving post in wp_post wordpress database table
- How to add data from wordpress tables to new database tables you have created
- Creating Tables in WordPress Database
- Calling update_user_meta inside of another function doesn’t work
- Install WordPress with SQL database
- How to back-up a database on IIS
- Creating Job Tickets
- Best db table structure for users with many records
- Where are database files of a WordPress website?