Support » Plugin: Cerber Security, Anti-spam & Malware Scan » Turning off 403 for missing script files?

  • Resolved killerdog


    When a visitor tries to access a non-existing PHP file on the web site, they receive the special “403 Access Forbidden” page generated by this plugin. Is there any way to turn off this particular feature? It’s actually interfering with my 404-to-301 redirect function. Sometimes even PHP files are moved, and I need to redirect these visitors with a 301 to their correct destinations, rather than stop them in their tracks with a 403.

    BTW, thanks for such a great plugin!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gregory


    It’s Traffic Inspector. You can specify exceptions by adding those moved scripts query paths to the Request whitelist field on the Traffic Inspector Settings admin page:

    Alternatively, you can specify redirections in the main .htaccess file.

    Ah, I never even considered that this feature would reside within the traffic inspector itself. I adding regex to exclude all PHP files in the whitelist and that worked great.

    Although, since I inherited a domain with several hundred old and undocumented links (not just to PHP files) that are indexed on search engines everywhere, I found it easier to just disable the traffic inspector altogether. Because, I need to catch the 404 traffic and redirect it to the web site root using 301, in order to reshape the SEO in the long term.

    Thanks for your help!

    Marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Turning off 403 for missing script files?’ is closed to new replies.