Request failed due to an error: (http_request_fail

I uploaded the XML file to get back up information such as posts, pages, and media files. either media files, everything came.

but for the media files, WordPress gives an error.as a note, the media files have related to the posts and some plugin content.

a full error message is Turkish so sorry:

İçeri aktarma başarısız Ortam “1”: Request failed due to an error: Geçerli bir adres sağlanmadı. (http_request_failed)

I am giving the XML file:

I am good at wp theme and plugin development.SO, is there any coding solution?

Are the image files in the XML file in the correct way?

https://gofile.io/d/gxXjD7

thanks

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

As a writen links in the xml files, image files such as the files which ends with .jpg extention, were hosted in my ex-hosting.So, now, the image files dont exist now.

You can search jpg word in xml files, and you will see links.So, this is a proof what I said above paragraph.

So, also the only solution was manually upload again so I solved my problem by hand.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x