• Had a problem with click tracking URLs not working, sending visitors to 404 pages. After troubleshooting, I realized that Better WP Security added htaccess file inside /wp-content/ to prevent execution of php files.

    Original code is

    <Files *.php>
    deny from all
    </Files>

    Replace it with this to fix Adrotate issue and still prevent other php files from being executed:

    <FilesMatch "\.php$">
        Order Allow,Deny
        Deny from all
    </FilesMatch>
    <FilesMatch "adrotate-out.php">
        Order Allow,Deny
        Allow from all
    </FilesMatch>

    Hope that helps you out and saves time.

    https://www.ads-software.com/extend/plugins/adrotate/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Broken Redirect Issue & Fix for Better WP Security’ is closed to new replies.