• There was a .htaccess file in \wp-contents\upload with following content.
    After renaming this files my images where visible again on the website and
    in wordpress/media.Is this a setting somewhere in Wordfence ??
    Other issue. I use the same settings on all of my wordpress sites but this is the first time i have this issue.

    — CONTENT .HTACCESS —
    # BEGIN Wordfence code execution protection
    <IfModule mod_php5.c>
    php_flag engine 0
    </IfModule>
    <IfModule mod_php7.c>
    php_flag engine 0
    </IfModule>

    AddHandler cgi-script .php .phtml .php3 .pl .py .jsp .asp .htm .shtml .sh .cgi
    Options -ExecCGI
    # END Wordfence code execution protection

Viewing 1 replies (of 1 total)
  • Hi Andy,

    I have the same problem, images are not displayed on any of the sites from the same host since activating Wordfence.
    Could you guide me to how to fix it please?

    Thank you
    Martin

Viewing 1 replies (of 1 total)
  • The topic ‘Images not showing on website’ is closed to new replies.