I wanted to clone my offline test site (localhost with XAMPP) to a live subdomain on our Web hosting service. I’ve used WP Clone previously and it’s always worked well. This time, however, I received the following message:
The plugin encountered an error while downloading the zip file, the following error message was returned:
Error Message: A valid URL was not provided.
Temporary files created in /home/xxxxxxx/public_html/xxxxx/wp-content/wp-clone-temp will be deleted.
I was able to fix the problem by following directions supplied in another post here. I simply copied the WP Clone zip backup file from the offline site into the same location on the new, live, subdomain. I then used the restore from backup feature once again, from the live subdomain site, and this time it worked. The offline test site was successfully cloned to the new, live, subdomain location, and everything (plugins, widgets) work as intended.
On a related note, it is good to know that, at least in my experience, WP Clone works well with WP version 3.7.1. It’s a great product, in my opinion.
If anyone else knows of a better way of handling this issue (or of a way of avoiding this problem), please post relevant information. Thank you!
When you say “same location on the new, live, subdomain” can you provide an example?
well,that error comes from WP’s http class,perhaps the URL was not correct?
anyhow,a better(ish) way to handle localhost to live transfers would be,even if you have a valid domain name/ip address pointing to your computer,to place the backup file on a cloud storage service like dropbox and using its public URL instead of the one from wpclone.
best option is the manual upload method you already followed because it bypasses the file download altogether.
I think he/she means ‘uploads/wp-clone’ 🙂
There are many possible causes. I was getting the “valid URL” error because the site is in our intranet and WP 3.6+ disallows downloads of files from 10.x.x.x and other local/intranet IPs.
I added, with success, a filter inspired by the fix I found here: http://www.emanueletessore.com/wordpress-download-failed-valid-url-provided/
- The topic ‘How to Fix — Error Message: A valid URL was not provided.’ is closed to new replies.