• Resolved digitalcam

    (@digitalcam)


    I’m using the following to “Allow Only Selected Files from wp-content.” as per the instructions at http://www.wpexplorer.com/htaccess-wordpress-security/

    # Disable access to all file types except the following
    Order deny,allow
    Deny from all
    <Files ~ “.(xml|css|js|jpe?g|png|gif|pdf|docx|rtf|odf|zip|rar)$”>
    Allow from all
    </Files>

    It functions perfectly except that I also use the plugin Fast Secure Contact Form and the above blocks the CAPTCHA image.

    In the wpexplorer article it indicates that you can add items to the Files ~ list to allow them to show.

    Fast Secure Contact Form generates a line like

    <img id=”fscf_captcha_image1″ style=”border-style:none; margin:0; padding:0px; padding-right:5px; float:left;” src=”http://mywebsite.com/wp-content/plugins/si-contact-form/captcha/securimage_show.php?prefix=Ci4vZcSyXdFhSKeN&#8221; width=”175″ height=”60″ alt=”CAPTCHA Image” title=”CAPTCHA Image”>

    I am unclear what aspect of the above I would add to my Files ~ to allow the CAPTCHA to be displayed.

    Suggestions?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Allow Only Selected Files from wp-content’ is closed to new replies.