I’d recommend against using the same database for both. Primarily because the permalink structure would really only work for one, but also because it’s very likely you’d make a change in the dev site that adversely affects your production site. If you decided to attempt something like this, all your media would still be tied to it because media is added to your database the same way posts and pages are, but instead are called attachments.
I’d look into WP Migrate DB to be able to pull in your site (or just your posts). However, you could simply import your old posts into a fresh install of WordPress and go from there.
Good luck!
Related Posts:
- How to completely remove Python from a Windows machine?
- How to install MinGW 64 on windows 10
- [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
- PackagesNotFoundError: The following packages are not available from current channels:
- Android Fastboot devices not returning device
- How can I convert my Java program to an .exe file?
- Changing the wp db prefix after installation?
- Automatically enable custom theme, plugins and default content on installation?
- Create a custom WP install with plugins, theme etc already installed?
- Things to take care when moving from hosted wordpress to self-hosting
- the correct order of manual install WP and SSL on server
- How do I install two versions of WordPress on 1 server?
- How to Check the Directory Where WordPress is Installed?
- wp core install database connection error
- Steps to debug on a blank screened wordpress install
- Installed successfully; home page still redirects to install.php
- How to import WP XML file automatically on installation?
- Trying to install WordPress on WSL Windows 10, and running into issues with wp-cli and “wp db create”
- Cannot access WordPress install on subdirectory of drupal site
- Programatically Creating Initial WordPress Site
- Install wordpress in backend with Existing html website alive
- Moving to a new domain in the same server
- When WordPress Does Not Provide an .htaccess File for New Multisite Sites because of CPanel Fantastico Auto-Installer?
- Is there any plugin hook that I can latch onto once a site is freshly installed?
- Quickest Way Besides FTP to Upload WordPress Files to a Web Server?
- Moving to directory creates path problems.. how to solve?
- How to use if condition to change $table_prefix in wp_config.php
- WordPress installation does not get completed in WAMP server
- Should I delete automatically-created files before installing WordPress?
- You appear to have already installed WordPress. To reinstall please clear your old database tables first
- Change WordPress directory
- No option to update WP in client’s backend
- wp-cli installation
- Page not found error shown while installing wordpress on IIS server
- How to customize WordPress Plugin installation?
- How can I completely disable a WordPress installation?
- How to create wordpress install template/image?
- Why does my localhost/wordpress not have a Link to Login Page
- WordPress composer issues
- What happen after new plugin get installed in term of permissions?
- Other than WP-CLI, is there a way to install WordPress via the command-line?
- WordPress database error on (fresh) reinstall
- Install with docker – can’t access port
- Installing WordPress in a subdirectory
- WP Installer Redirects to /wp-admin/core/install.php
- WordPress installation from live site to localhost
- What is a wordpress instance [closed]
- PuTTY is glitching out when I try to install wordpress
- Can I install a WordPress site locally from a tar.gz file?
- How can I deploy my InstantWP site to a live website?
- All links in WP blog redirect to main non-WP site
- How to effectively handle the problem of installing WordPress locally for each new project?
- Local Installation: install.php offered to download instead of running
- WordPress manually installed on a remote server
- WordPress is already installed
- Installed WordPress without configuration screen
- WordPress System Requirement for Older Versions?
- On install, automatically create page and set it as front page
- What’s the best way to install WordPress?
- Forbidden localhost error and error establishing database
- EC2 WordPress install asks for connection info when auto-updating
- WordPress Skeleton installation
- Moving from subdirectory and subdomain -> root
- Creating a sub folder inside a root installation?
- Installing plugins on IIS-hosted site [closed]
- Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy
- WordPress 3.1 Install Error
- Disable creation of default content during installation
- Transferring from “Populate” CMS to WordPress
- Should I use two single WordPress installations because of SEO?
- How to recreate a WordPress site
- wordpress icons and gui not display while installing wordpress http://server_ip /wp-admin/install.php
- How to install multiple wordpress site on localhost
- Install wordpress without affecting clickfunnels
- More than 5 time my Website show this issue
- wp-cli setting home and siteurl to site.tldtld (double TLD)
- My wordpress doesnt show up
- Error during installation
- Accidentally re-installed wordpress
- Reporting Broken Theme event though upload was success
- Fastest way to install a multisite?
- How to install WordPress on root domain and Php script on subdomain?
- First time installing WordPress. Cant Access
- 2 domains 1 WP instalation in Cpanel
- Upload a website on WAMP and modify it
- Disable redirect to install.php
- db.php, is it a legit file [closed]
- Moving site made easier
- New WP installation due to language issues
- WordPress Installation
- WP installed is asking to install if typed domain.com
- Moving from one WP site to a new WP site incrementally
- How does a WordPress installation become ‘alive’?
- WordPress 4.1 update broke theme
- I can access to my wordpress page at work and via cellphone, but when I get home, I can’t access to the website
- New WP installation on Hostgator domain but not working
- Correct folder & file permisson for WordPress
- Host Php script from codecanyon on wordpress
- Backend working but not front
- Installing wordpress into the same directory as existing static html website