Site move – image url issue

This topic contains 15 replies, has 4 voices, and was last updated by  Colin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #447415

    Colin
    Expired Member
    Post count: 76

    So I decided to move my site from one of the sub sites to the main site.
    It’s a multisite install.

    Basically I went into the database and modified the urls and site numbers.
    Everything seems fine, except the images are not showing.
    When i examine the url structure of where the image should be, it’s missing the site number,
    Example: /site/3/

    Any idea where i can go to fix that? Is it in the db?
    Interestingly, the category icon images work no problem.

    #447416

    Colin
    Expired Member
    Post count: 76
    This reply has been marked as private.
    #447421

    Kor
    Moderator
    Post count: 16516

    Hi Colin,

    Thanks for your post. Kindly, perform a full backup right now and use a plugin like better-search-replace to find those older URLs and update them to the correct URL.

    https://wpgeodirectory.com/docs/useful-plugins/#bsr
    https://wpgeodirectory.com/docs/better-search-replace-plugin/

    Thanks!

    #447493

    Colin
    Expired Member
    Post count: 76

    I don’t think that’s going to work, because in the db there is no /site/3/ where the images are referenced in each listing.

    #447507

    Alex Rollin
    Moderator
    Post count: 27815

    If you add images so the library now, do they receive the correct URL?

    #447521

    Colin
    Expired Member
    Post count: 76

    Good idea,

    ok, so I just added an image and it is showing.
    The url of this image doesn’t have the /site/3/ in the url

    So I think what that means is I need to move all images from:
    /wp-content/uploads/sites/3/2018/
    to
    /wp-content/uploads/2018/

    Do you think that makes sense?

    #447522

    Colin
    Expired Member
    Post count: 76
    This reply has been marked as private.
    #447523

    Kor
    Moderator
    Post count: 16516

    Hi Colin,

    Thanks for your reply. We would need an FTP access to your server to inspect your folder paths. Could you provide the login information listed below in private reply?

    FTP Access
    FTP Host :
    FTP Username :
    FTP Password :

    Thanks!

    #447525

    Colin
    Expired Member
    Post count: 76
    This reply has been marked as private.
    #447528

    Kor
    Moderator
    Post count: 16516

    Hi Colin,

    I just noticed that you’re still using older versions of the GD addons. Kindly update everything and see if it helps. If not, deactivate all non-GD plugins and see if it fixes the issue you had there.

    Thanks!

    #447529

    Colin
    Expired Member
    Post count: 76

    Thanks Kor,

    However that’s another issue i just noticed….
    None of the geo plugins will update.
    I get this error Update Failed: Download failed. Unauthorized

    I can upgrade other plugins.
    Strangely, on my live site it is not notifying me that these plugins have updates.

    #447530

    Colin
    Expired Member
    Post count: 76
    This reply has been marked as private.
    #447541

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
    #447544

    Colin
    Expired Member
    Post count: 76
    This reply has been marked as private.
    #447546

    Paolo
    Site Admin
    Post count: 31206

    To activate a domain, you need to add the license key for each plugin when installed on a particular domain and activate it.

    If you see a license key on these domains now, they probably come from another domain (database transfer) and have not been activated for the domain where they are installed right now.

    You’ll need to deactivate them, add them and activate them again.

    Otherwise if those are not your domain and they are using a license key from another account, probably that account is expired.

    Hope this helps,

    Thanks

Viewing 15 posts - 1 through 15 (of 16 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket