• Resolved Aidan Hakimian

    (@hakimianweb)


    I am trying to access the Login Security page of the WordFence plugin to enable 2FA. However, when I go to the page, it tells me that I not allowed to access it.

    I am logged in as an administrator.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @hakimianweb, thanks for getting in touch!

    The message “Sorry, you are not allowed to access this page” as you probably know is a WordPress default message when you don’t have the right user level to access the page. However, the same role/level usually controls displaying the menu item in the first place.

    Something else is likely breaking the URL so it’s not going to the right page. For admins on a single site, it should point to /wp-admin/admin.php?page=WFLS as you’re seeing. Certain plugins or case insensitive URLs have caused this error in the past, for example, if I change my URL to page=wfls in lowercase I can reproduce the error you’re seeing. However, there are other pages containing capitals in Wordfence so I’d possibly expect this to occur for more pages if that was the issue.

    I think the first thing to try would be disabling all plugins except for Wordfence, and using a default theme such as Twenty Twenty-Three. If the issue subsides, enable your plugins and theme one-by-one until it starts reoccurring and report back to me when it starts up again. Try visiting the page URL directly without clicking a link also!

    A mu-plugin as seen in Plugins > Installed Plugins > Must-Use whether manually added, installed as part of another plugin, or installed by the host could also cause this. You could try disabling those if you haven’t already. Another possibility we’ve seen is a multisite that isn’t quite set up correctly, causing the wrong link to be generated.

    Let me know what you find out!
    Peter.

    Thread Starter Aidan Hakimian

    (@hakimianweb)

    Well, what’s strange is that I don’t see the Login Security menu option under WordFence at all. However, if I go to All Options, I see it at the bottom of the page: Login Security Options.

    I tried disabling all plugins on my site besides WordFence to no avail. Next I installed the default WordPress theme, Twenty Twenty-Three, which also did not work to resolve this issue.

    Thread Starter Aidan Hakimian

    (@hakimianweb)

    I still haven’t heard back. Do you have any other suggestions?

    Plugin Support wfpeter

    (@wfpeter)

    Hi @hakimianweb, thanks for your reply.

    I don’t like to jump to a plugin reinstall immediately but it might be appropriate in this case. You clearly have administrative permissions and have tried disabling plugins and your theme with no luck. If you can’t see any errors in your browser console that might point to CSS or JavaScript failing to load properly, then that could be the next best step.

    Please refer to this page if you don’t want to lose your settings during an attempted reset: https://www.wordfence.com/help/advanced/remove-or-reset/

    Thanks,
    Peter.

    Thread Starter Aidan Hakimian

    (@hakimianweb)

    Interesting – that worked! All I had to do was deactivate, delete, and reinstall the Wordfence Security plugin. Thank you!

    hello,

    I found this thread with the same problem. I installed wordfence but the menu item for “login security” does not appear and the menu “all options” do not allow me to access the site.
    Now I have completely uninstalled and reinstalled the plugin twice, but the problem persists.
    Is there still a solution for this?
    On another website with the same hoster I do not have this problem, all menu items appear and everything is editable.
    Thanks for your help, Ortrun

    Thread Starter Aidan Hakimian

    (@hakimianweb)

    Did you delete the plugin, or simply deactivate it? Try deleting it entirely, and downloading it again.

    yes, i have completely uninstalled and reinstalled the plugin twice. I did this because of this thread with the hope of success. However, the plugin always reinstalls itself without the security login menu item.

    Thread Starter Aidan Hakimian

    (@hakimianweb)

    I would suggest you open another thread since this one has been marked as resolved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Cannot Access Login Security Page’ is closed to new replies.