Assuming that www.example.com/site1
is the 1st site (in the root folder site1
folder), and www.example.com/site2
is the second site (in the root folder site2
folder. The easiest way (normally) to clone (or move) a site is to use the excellent WP-Clone plugin to backup and restore the ‘site1’ site to the root. But, you will have problems accessing site2
(which is a separate WP installation, as I understand), because the normal htaccess file used in WP sites will think site2 is part of site1.
So you would need to do some htaccess
work to get www.example.com
to point to the site1 folder, and www.example.com/site2
to point to the site2 folder. That might be a bit complex to do, though.
So, I’d recommend that you set up a multisite installation. The primary site would be in the www.example.com
root folder, and then site2 would be www.example.com/site2
. This might be the best solution, IMHO.
Related Posts:
- Moved WordPress to New Server, Now Tries to Download a File
- Change site url when moving site to another url?
- Recover WordPress blog from an inactive domain name
- Is it possible just by using wp-cli to migrate one multisite instance to single site?
- Make WordPress “readonly” on a given site
- Is there an easy way to migrate a site from SiteFinity to WordPress?
- How to transfer changes from test environment to live site?
- Migrate Changes from a Staging Site to Production
- Change old URLs after the domain change
- Export and overwrite pages on import?
- URLs to images get messed up after migration
- Does WordPress Import/Export tool actually exports media (images) as well?
- Links after moving my site to another domain
- Migrating my existing WP site to localhost
- Will post id change when migrating to new site?
- Critical Site Health Issue after WordPress Migration
- Migration / convert an existing site to WordPress
- Why isn’t my imported database showing up? install.php pops up and adds new tables to the database
- Install WordPress on new server or just copy old files?
- call_user_func_array() errors after migrating site with InstantWP
- how do i find out why links point to my old domain
- We have a static Hugo website and we want to migrate it to WordPress
- How do I force password reset even with wrong password entered?
- How can I migrate (export and import) wordpress users without loosing their password?
- How to copy WordPress live website to Bitnami stack localhost?
- Tags not importing when using WordPress import system
- Migrate from CMS Made Simple to WordPress
- Migrating entire online site to local server gives “The requested URL /login/ was not found on this server.”
- preventing the duplicate wp_insert_post
- Trying to move an Expression Engine site to WordPress, but not having luck with content
- Migrate ProcessWire to WordPress
- Preserve password hashes when migrating to another server
- Nginx mamp pro5 migration home page works all other do not
- migrating my wordpress site
- Moving WordPress page to a new domain
- Is it possible to transfer my local installation entirely to the server?
- Why WordPress isn’t and/or can’t be domain agnostic
- migrated wordpress site not running properly, on Ubuntu localhost?
- The easiest way to migrate a wordpress website across servers
- Moving my newly made site from subdirectory
- What is the difference between wp-admin>Export>All content and MySql dump and import
- Clean private data (passwords, ftp, database) before zipping my site and SQL and give it to other person
- how to update link on live site from test site
- wordpress changing host breaks image links
- Tried to move blogs to a new server – “white screen of death”
- Images in the post still pointing to older domain after domain change
- Blank screen after moving WordPress to new server with same domain name
- I changed my domain name and REST API stopped working
- Getting HTTP error 500 after migrating a website
- migration wordpress to local machine does not work with all broken URLs except frontpage
- Uncaught Error: Class ‘Redis’ errors on a site I’ve transfered to new hosting
- WordPress migration to new domain and environment with only zip file
- Clone WordPress site from development server to live server
- Server Migration Issues
- Migrating WP website from local host
- After migration the website is really slow
- How to remove symlink from folder
- Migrating stats from WordPress.com blog to self-hosted WordPress.org blog
- Transfer WordPress
- Server ip to Domain
- Migrating from foo.com/wordpress/ to foo.com/ — how can I do it?
- Deploying from local to dev: pages do not work
- Migrate VB.net website to wordpress website
- How do you do your big exports / imports?
- Import from Windows to Linux
- Wrong URL to CSS and JS after change domain
- Migrate site from local to local via a backup
- Migration from environment to master WordPress
- How to recover wordpress website moved from a PC to another
- Making a development site live, on Amazon EC2
- How can I migrate asp.net website to a wordpress site?
- Update around 200,000 posts
- Migrate wordpress server to localhost problems
- Cannot combine two site’s pages together
- WordPress white screen
- Migration from XAMPP in windows to MAMP in Mac
- Redirects and Subdirectory migration to Root Directory
- Moving WordPress site from local PC to local Mac
- WordPress giving gibberish and wp-admin gives HTTP 500 error
- Moved wordpress dashboard still pointing to testing server
- WordPress migration ended with 500 Error page on pages excluding homepage
- Authorization link broken when migrating from Blogger to WordPress
- Migrating a WordPress site has broken UTF8 encoding
- How to make Youtube short code transfer
- Migrating WordPress site from subdirectory to subdomain
- Error after moving wordpress blog
- Source code get entity escaped after migrating
- Static HTML to WordPress migration
- Fast way to copy a Blog x to another domain/server without deleting it
- Migrated from localhost to server and cannot get custom_fields content anymore
- Can’t restore my wordpress site from zip back up file
- WordPress.com blog migration to self hosted WordPress website [closed]
- ColdFusion site to WordPress?
- How do I set up a test environment in a sub-folder?
- Moving Large Number of WordPress posts from One wordpress site to another existing wordpress site
- Site is broken after transferring to adminer
- WordPress migration from live server to localhost having 404 error? [closed]
- Changing a domain for a current WP site without having it go inactive
- wp-admin keeps forwarding me to an old url
- open_basedir restriction in effect after migration from LAMP to WIMP