Images are not displayed in preview of Wordpress website: 403 Forbidden

Created:

2016-11-16 12:44:01 UTC

Modified:

2017-08-08 13:43:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Images are not displayed in preview of Wordpress website: 403 Forbidden

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • Some images are not displayed in preview of Wordpress website ( Domains > example.com > Preview )

  • Firebug shows 403 Forbidden error regarding those images.

  • Website's custom CSS settings contain records with URL like as follows:

    ../wp-content/themes/largo/assets/images/youtube-icon-grey.png

    OR

    .hs_followme a.fm_youtube span {
    background-image: url('./wp-content/themes/largo/assets/images/youtube-icon-grey.png') !important;
    background-image: url('../wp-content/themes/largo/assets/images/youtube-icon-grey.png') !important;
    background-size: 20px 15px !important;
    }

Cause

The links in custom CSS are improperly defined.

Resolution

Contact website developer or edit incorrect links by pointing one '.' sign before path or remove '.' sign at all:

    ./wp-content/themes/... 
/wp-content/themes/...
Have more questions? Submit a request
Please sign in to leave a comment.