On a default WP install the values upload_url_path and upload_path are set to empty so if they are modified then you will need to manually adjust them on the new install. If you don’t want to have to update a new install then you can set the values to blank in the database.
Hope that helps~
Hi,
so when I run the install wizard, at step 3, where there’s the Path field I have to delete the url. This way upload_url_path and upload_path keep on setting to empty, as on default WP install.
Thanks for your help.
You shouldn’t change that value, however, if that value is exactly the as the Old Value (see step 3 options Old URL) then it will update to the New URL param found on step 3. If you set it to empty on the original site then you can ignore it when you make a copy…
Hi,
sorry but I haven’t understood your answer. I have checked original site database. The field “upload_path” has a value, while the field “upload_url_path” is empty. When I use Duplicator and I don’t delete Path value on step 3, the site doesnt’t upload images included in field “uploads” because the url path is wrong. I give you an example:
this is the wrong url of an image
http://localhost/interior/C:/xampp/htdocs/interior/wp-content/uploads/2017/06/progetto3-1.jpg
Deleting path value it becomes
http://localhost/interior/wp-content/uploads/2017/06/progetto3-1.jpg
and it works.
So I don’t know why, but deleting Path value on step 3 images are uploaded, otherwise I have to delete upload_path value in database and set it to empty.
Hey @anna2890,
If you want to submit a support ticket for this issue I can have a closer look at your setup. Please provide a link to this thread when submitting the ticket.
Thanks~
Hi @corylamleorg,
I have submitted a support ticket. Thanks for your availability.
Not that I know exactly what the problem is, but here is my experience in case it helps:
When moving from hosted to local in the past I found it matters exactly how I setup my localhost. More specifically, manually for WP sites when manually installing, 7zip automatically placed the installation in a folder /wordpress/ and even when that was appended to the path there were still problems with asset/content items. By making sure all files were unzipped to a root (e.g. using XAMPP I have xampp/htdocs/Sitename ) and installing WP everything works well. In step 3 when I transfer from server to local I simply delete the path as you mentioned. All assets work or are accessible.
This has been the case on 2 separate sites for me, and perhaps a dozen or more duplication efforts as I develop the sites.
Thanks for leaving that feedback, John!