I had a very similar problem when I moved a WordPress Blog from a single WordPress installation to a Multisite installation with different domain names but same IP.
I found out that the problem is the wp_http_validate_url
function which drops the URL if the source IP is the same as the destination IP.
You can add a filter wp_http_validate_url
to prevent this and allow matching source and destination IPs:
add_filter( 'http_request_host_is_external', '__return_true' );
Please see this answer for detailed explanation of the filter hook and why you should remove it after the import: https://wordpress.stackexchange.com/a/123313/75573
Related Posts:
- Where does the Media Library live in the database?
- WordPress Theme Options Import/Export
- One Click demo content installation feature in WordPress theme options panel
- Import and replace existing page/post content
- Migrating WP site to another URL
- How to migrate a WordPress installation from one site to another, including all images?
- How to completely export and import WordPress?
- Download/View Schema (or DTD) for XML Import
- GUID not updated on import
- Importing large data from blogger
- How to get and save WordPress content (html, css, images, videos) from a Java program?
- Update Attached Image Size after Import
- Exporting and Importing WordPress Media Libraries and Galleries
- WordPress does not import all pages and post
- Problems with WordPress Import
- In What WordPress Version Was the Import/Export Tool Introduced?
- Moving WordPress site to an existing WordPress site
- Export Users From Live Site to Import onto staging
- Import subdomain WordPress into main domain WordPress
- Exporting featured image
- product export and import using xml
- Export WordPress from one domain to another domain
- Exporting by table
- Existing posts hidden after WP import
- WordPress importer – How to handle id clashes for featured images
- How to import several big Import XMLs?
- Merge two wordpress sites
- Moving 2 wordpress sites to one
- Export and import all Plugin options
- WXR? Export from Drupal 7 – import into WordPress
- WordPress Export/Import for custom options.php values?
- Import / Export database with SQL Server Server Management Studio
- Java Package Does Not Exist Error
- Remove Project from Android Studio
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- How to re-Import the WordPress XML file after editing?
- Why shouldn’t @import be used to import a parent theme into a child theme?
- Moving a blog from Tumblr to WordPress
- Exporting just posts of a specific category
- Using the Importer on an IIS Server
- How can I export and then import posts with featured images?
- Does WordPress Import/Export tool actually exports media (images) as well?
- How to import a TypePad blog including all media?
- Convert WordPress.com embed links to normal embeds
- Creating a one click demo importer
- WordPress (+WPMU) Import/Export ALL settings?
- Importing New Posts from Live Site into Local Dev Site
- wordpress custom theme import and export options for sample data [closed]
- Is it possible to recover featured images after WordPress export/import
- Is there a way to import Blogger into bbPress?
- WXR slicing script
- can’t import xml file
- Imported thumbnails have incorrect URL
- Unknown collation when I import a dump from an existing site into a development database?
- Error: Failed to import tag/post
- Merging two databases without borking it
- Extending the woocommerce product export functionality
- What is the difference between wp-admin>Export>All content and MySql dump and import
- How to access my wordpress via IP in shared hosting
- WordPress Local And Live Site
- Move Multiple WP Installs on a single domain to WP Multisite
- What is basic structure of xml for importing a page in wordpress?
- How to import content from WordPress.com to a self hosted WordPress installation?
- WordPress pages creation work distribution & then combining – Localhost XAMPP
- Importer failed to import posts as format “day and name”
- Import HTML/JS post to WordPress?
- After imorting posts from another blog double line breaks have been replaced with single line breaks
- When moving a WordPress installation to a new server, why do I have to update each post before content shows?
- Which is the correct way to migrate content from single WP to WP multisite
- How to add biography of user while importing?
- How to export a WordPress blog with no export function?
- Importing posts via MySql (a csv file) need to be automatically published
- Is there a way to show different source feeds on individual pages?
- automated import from blogger
- Error in importing wordpress xml [closed]
- How to import media from folder as opposed from old site?
- Two-way synchronizing of a post type among multisite blogs
- Transferring theme and imported post attachments
- WordPress Import (CLI) returns Error Establishing a database connection
- How do you do your big exports / imports?
- Upgrading to WP 5+ with block content – Export & Import Page Content
- WordPress xml import too slow
- Import WordPress content to my website
- After importing items are not displaying
- How to import posts correctly?
- Content export, reinstall and content import
- Exporting Post type from one theme and importing it to another theme
- Moving website from localhost to existing website without altering existing live theme
- How to make bulk changes to wordpress posts
- Pull specific data from CSV
- Migrate site from WordPress multisite to another WordPress multisite
- Importing many times to succeed
- Moving Posts to a new site and maintaining URLs
- Create CSV for import from File directories?
- how to import custom taxonomy (& terms)
- Import data from file larger than 15 MB
- How to import individual blog posts into WordPress?
- Astra Site is not importing
- Siteurl code for links
- WP-all-import problems with large input file [closed]