• Hi

    Thank you for this plugin, its been a great defense among many potential hackers.
    I have been using this plugin for a very long time, and had not had to go in and change anything. Recently, seen a slight increase of attempts from one country, so I went poking around inside Wordfrence. However when I click Firewall it takes me to the 404 page.

    I tried updating the permalinks
    Tried rolling it back to previous version.
    I tried uninstalling and reinstalling, but still getting 404 page.

    Now I can get into the firewall page, from Manage WAF link, in the main Wordfence Page
    The 404 is only happening when I click Firewall from the Menu on the left.

    Menu on left link —> 404: /wp-admin/admin.php?page=WordfenceWAF
    Link on Wordfence Page —> Works: wp-admin/admin.php?page=WordfenceWAF&subpage=waf_options&source=dashboard

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @cmatt,

    I think you were on the right track looking into the permalinks.

    Can you copy-paste the contents of your .htaccess file here?

    Dave

    Thread Starter cmatt

    (@cmatt)

    # Use PHP54 as default
    AddHandler application/x-httpd-php54 .php

    AddType image/x-icon .ico

    ## EXPIRES CACHING ##
    <IfModule mod_headers.c>
    # YEAR
    <FilesMatch “.(ico|gif|jpg|jpeg|png|flv|pdf)$”>
    Header set Cache-Control “max-age=29030400”
    </FilesMatch>
    # WEEK
    <FilesMatch “.(js|css|swf)$”>
    Header set Cache-Control “max-age=604800”
    </FilesMatch>
    # 24 HOURS
    <FilesMatch “.(html|htm|txt|php)$”>
    Header set Cache-Control “max-age=86400”
    </FilesMatch>
    </IfModule>

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif A29030400
    ExpiresByType image/png A29030400
    ExpiresByType image/jpeg A29030400
    ExpiresByType image/x-icon A29030400
    ExpiresByType application/pdf A29030400
    ExpiresByType application/x-javascript A604800
    ExpiresByType text/plain A86400
    ExpiresByType text/css A604800
    </IfModule>
    ## EXPIRES CACHING ##

    Thread Starter cmatt

    (@cmatt)

    FYI, just noticed the old PHP54 code, I removed the PHP line, because I’m running 7.1 actually.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Firewall – 404 Error only on menu side’ is closed to new replies.