• Resolved amkwa

    (@amkwa)


    Hi Everyone,

    I recently moved my site and everything worked alright for about two weeks. The problem occurred this morning, I cannot see any of the images that I have uploaded except the documents.

    I noticed that I cannot also see the images in the dashboard, a click on any of them still shows the site.com.na\old link and not site.com.na – although it worked.

    What query can I run to fix this? I accessed it with FTP and I could see the images.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    First, make sure that the two WordPress and Site Addresses at Setting -> General in your blog’s Dashboard are correct.

    If so, run https://www.ads-software.com/plugins/better-search-replace/ to replace site.com.na/old with site.com.na/

    Thread Starter amkwa

    (@amkwa)

    I tried and I could not find the site.com.na/old

    Just a thought, I get an error when trying to upload media that

    “Unable to create directory wp-content/uploads/2016/01. Is its parent directory writable by the server”

    Could this be the reason as to why I cannot see my photos nor upload? Please let me know what you think and thanks much!

    Moderator James Huff

    (@macmanx)

    Possibly, make sure that permissions on /wp-content/uploads/ and /wp-content/uploads/2016/ and /wp-content/uploads/2016/01/ are each set to 755.

    https://codex.www.ads-software.com/Changing_File_Permissions

    Thread Starter amkwa

    (@amkwa)

    Hi

    Permissions set to 0755 successfully but to no avail.

    I noticed under FTP that I own “Upload” folder under 33 33 and the other folders 2177 2178

    Is that normal?

    Thanks

    Moderator James Huff

    (@macmanx)

    Possibly not, but you’ll need to check with your hosting provider on that. They should be owned by the user that PHP runs under.

    Thread Starter amkwa

    (@amkwa)

    User and not group? Or both. The Value of user in the PHP folder is 0 and group has another value 2178.

    Moderator James Huff

    (@macmanx)

    Both, but double-check with your hosting provider. It depends on the server configuration.

    Thread Starter amkwa

    (@amkwa)

    Hello,

    In the event were some of you are still trying to sort this out. My problem was:

    – I could not re-link my images to new site (Not visible on the new site although they are on the server)
    – Could not create a folder under the /wp-content folder on FTP or from /wp-admin back-end

    Fix:

    I called the host and explained to them that I do not have right “group” permission on the /wp-content folder and they need to change it for you. You can confirm this by checking this out with your FTP application. See what group the other folders belong to and the folder you are trying to write to.

    Hope this helps, it helped me. Sorry for the delay, kinda moved on ??

    Moderator James Huff

    (@macmanx)

    Thanks for sharing your solution!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image re-linking problems’ is closed to new replies.