I do the following:
- Move all old files in the root dir to a special folder (i.e. “_old”)
- Login to the new site in subdir and remove the subdir from the
WordPress
andSite Adress
(so removesitename.org/new
and entersitename.org
) - Using FTP or your hosts file manager, move all files from the subdir “new” to the root
- Now you can login to the new site in the root dir
- Flush / Resave permalinks
- Search and Replace the subdir URL with the root URL inside the wp-database (using one of many plugins, i.e “Better Search and Replace”, dont update the GUIDs)
- Add rewrite rules per htaccess or per wp plugin (i.e. “All 404 Redirect to Homepage”)
- Reset caching and test the site to see if everything is ok
But before anything, create backups!
Related Posts:
- Moved WordPress to New Server, Now Tries to Download a File
- Do you have any effective strategies for launching a v2 of a WP site?
- Change site url when moving site to another url?
- Migration issue – blog home page is blank
- Recover WordPress blog from an inactive domain name
- Is it possible just by using wp-cli to migrate one multisite instance to single site?
- How to transfer changes from test environment to live site?
- References to other site everywhere in WordPress site
- Plugins to clone wordpress site and move to another url
- 500 Internal Server Error after attempting to switch from subdirectory to addon domain
- Export and overwrite pages on import?
- How to upload local changes to a live server without overriding new posts/pages?
- How can I assign post a specific ID on creation?
- Error establishing a database connection After Copy localhost wordpress site (with site url directly to hosting server’s url before copy)
- How to migrate from wordpress.com to self-hosted wordpress
- Migrating my existing WP site to localhost
- Will post id change when migrating to new site?
- Setting up WordPress playground and deploying to production server?
- Critical Site Health Issue after WordPress Migration
- Error migrating from live website to localhost
- Copying wordpress to another server breaks it on original server
- Why isn’t my imported database showing up? install.php pops up and adds new tables to the database
- Remapping absolute URLs from other domains and from test domain
- Can I setup WordPress in a subdirectory and then point my URL to the subdirectory when I’m ready to go live?
- call_user_func_array() errors after migrating site with InstantWP
- We have a static Hugo website and we want to migrate it to WordPress
- Save (same) permalink from wp-cli
- Changed site URL and now my Front Page doesn’t display correctly
- How can I migrate (export and import) wordpress users without loosing their password?
- Localhost: WordPress redirecting to a different URL
- Tags not importing when using WordPress import system
- Move from Subdomain to Root
- migrating local dev site to live site with no downtime
- How do I fully migrate post images from one WordPress site to another?
- preventing the duplicate wp_insert_post
- WordPress Network (MU): Copy Main Site to Sub-Site
- Is there a way to migrate via wordpress dashboard?
- Trying to move an Expression Engine site to WordPress, but not having luck with content
- Changing WordPress domain
- Migrate ProcessWire to WordPress
- Cannot complete migration on LAMP
- Nginx mamp pro5 migration home page works all other do not
- How do I migrate a Website of this size ( Archive: 24GB, DB: 256 MB )
- The easiest way to migrate a wordpress website across servers
- Moving my newly made site from subdirectory
- Can only access homepage and admin panel
- how to update link on live site from test site
- Migrating to local server
- Images in the post still pointing to older domain after domain change
- I changed my domain name and REST API stopped working
- Getting HTTP error 500 after migrating a website
- The entire wordpress theme reset to default after uploaded to live
- 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
- How to do a clean transfer of WordPress site to a new server?
- Migrate posts and photos from a blog to another
- Migrating stats from WordPress.com blog to self-hosted WordPress.org blog
- Transfer WordPress
- Server ip to Domain
- Deploying from local to dev: pages do not work
- Transfer WP from subdomain to main domain
- FTP not working on a specific WordPress site but working on others (and Filezilla) [closed]
- Migrate VB.net website to wordpress website
- Translation working on staging site, not on live one
- Import from Windows to Linux
- Issue In Links after migrating from Live server to Localhost XAMPP
- Long loading site after migration
- What happens if I replace the files of a WordPress site with another WordPress site?
- How I shift me website from WordPress managed to linux hosting?
- Update around 200,000 posts
- Move wordpress files from one pc to another pc contents showing error
- Migrating a whole website to WordPress
- Transfer WordPress intranet site from my pc to the company local server
- WordPress featured images: migrating from dev to live site
- Migration from XAMPP in windows to MAMP in Mac
- Moving WordPress site from local PC to local Mac
- How to transfer /wordpress folder from one Mac to another
- How to move a locally built wordpress website to live server using wordpress importer
- Copy template with plugins to another hosting provider
- 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
- Migration to staging server, pages from other site loading in
- How to make Youtube short code transfer
- Error after moving wordpress blog
- Fast way to copy a Blog x to another domain/server without deleting it
- how to move a wordpress blog to my static site
- How to migrate, does WordPress hardcode or shortcode image URLs?
- Migrating domain name from old WP host to new (which uses vhosts)
- Can’t restore my wordpress site from zip back up file
- ColdFusion site to WordPress?
- How do I set up a test environment in a sub-folder?
- Change a web programmed in ASP.net to WordPress from scratch in the same Hosting
- How to migrate a local WP installation onto Digital Ocean
- Site is broken after transferring to adminer
- Changing a domain for a current WP site without having it go inactive
- Pages do not load after migration to new server
- wp-admin keeps forwarding me to an old url