Support » Plugin: AdRotate Banner Manager » Broken Redirect Issue & Fix for Better WP Security

  • 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.

    http://wordpress.org/extend/plugins/adrotate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • UPDATE: The above fix will make it work for logged in users, but not for visitors. Last piece of the puzzle is to disable Filter Suspicious Query Strings under Tweaks. It needs to be unchecked for it to work.

    Plugin Author Arnan de Gans

    (@adegans)

    Excellent find viktorix! 🙂

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