Broken Image Links in WordPress

This articles describes how to resolve a problem that may occur when you try to add images to a WordPress post.

PROBLEM

When you add a post in WordPress that contains images, the images appear as broken links in the post body.

RESOLUTION

To resolve this problem, you must set the correct file permissions. Specifically, the wp-content/uploads directory, as well as all subdirectories beneath it, must have their file permissions set to 755. Additionally, all files in these directories must have their file permissions set to 644.

  • If you installed WordPress into the primary domain's document root directory, the full path is /home/username/public_html/wp-content/uploads, where username represents your web hosting account username. If you installed WordPress in a subdirectory or subdomain, then the wp-content/uploads directory is located in a subdirectory beneath /home/username/public_html.

To set the correct file permissions for these directories and files, you can use the cPanel File Manager.

  • WordPress
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add MailChimp Subscribers from WordPress

You can add subscribers directly to a MailChimp mailing list from WordPress. This article...

How to Add CAPTCHA Protection to a WordPress Site

This article describes how to add CAPTCHA protection to a WordPress site using the Google CAPTCHA...

How to Add External RSS Feeds to your WordPress Site

This article demonstrates how to add an external RSS feed to a WordPress site. RSS (Rich Site...

How to Add a Custom Logo to WordPress

This article describes how to add a custom logo to a WordPress site. Adding a logo to your...

How to Change a WordPress Account Username

This article describes how to change the username for a WordPress account. CHANGING A WORDPRESS...

Powered by WHMCompleteSolution