• Imran Kanjoo

    (@imran_kanjoo)


    How can I change the image/media path for the current uploaded images and not for the new images. I have to store the images from current domain abc.com to a new domain xyz.com.
    I know the current image path is set to
    https://abc.com/wp-content/uploads/
    However, I want to change the currently uploaded path to
    https://xyz.com/wp-content/uploads/abc/
    while keep the same path
    https://abc.com/wp-content/uploads/
    for the future uploads.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kuldeep

    (@soberbanda)

    @imran_kanjoo Access your server via FTP and move images from wp-content/uploads to wp-content/uploads/abc.

    Now, use this: https://www.ads-software.com/plugins/better-search-replace/ to update URLs of moved images.

    This should work ??

    Thread Starter Imran Kanjoo

    (@imran_kanjoo)

    @soberbanda Thank you for recommendation. I followed as you suggested. The plugins shows, it has updated the paths however the images were served from the same domain/path and not from the new path. May be I need to update some other options which I dont know. Here is the output where it finds only few new cells and all other are replaced with new path https://prnt.sc/1xz1mm. Because my site has more than 4000 posts and it only finds few more cells which means previous all were replace.
    Is there any other option needed to update(similar to this)?
    If I check in the phpmyadmin the attachment path is 2021/09/Station-Supply-Depot-Army-Nowshera-Jobs-September-2021.jpg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Media/Image Path URL’ is closed to new replies.