I recently changed hosts and moved my blogs using the standard procedure to move WordPress across hosts. The text content displayed properly but the images were displaying as broken links even though the images were present on my server. This is how I fixed it after spending 30 minutes googling for the solution:
- Ensure that the wp-content folder has 755 permissions. (Command in Unix is “chmod 755 wp-content/”
- Ensure that the uploads folder and all its subfolders in the wp-content folder also have 755 permissions. (Command in Unix is “chmod +R 755 uploads/”)
- If you have custom Permalinks then go to Settings->Permalinks, select Default and hit Save. Note: You can then change the Permalinks again to your original structure after changing them to Default. This step was what solved the issue for me.
That’s it. Once I made changes in the 3 steps above, all my images reappeared in my posts and my WordPress sites were now fully migrated to my new hosts. If this helps you please leave us a comment below.
You can also read our Beginners Web Hosting Guide.
If you think that you have a link that adds value to this article please contact us at techie[at]techzog[dot]com for evaluation of inclusion into the article.
Comments left solely for spamming links will be deleted. Thank you for understanding.