• Hello,
    I’m the developer of WP Hide plugin https://wordpress.org/plugins/wp-hide-security-enhancer/ currently with +70000 active users.

    When using our code ( WP Hide PRO ) and customizing the default /wp-admin/ URL to something else ( e.g. /new-admin/ ) accessing the WordFence options interface, through the superadmin interface returns the following error screen:

    Sorry, you are not allowed to access this page

    Apparently, this is caused by the wp-admin slug being hard-coded into the WordFence plugin, instead, you should use the get_admi_url() to get the admin slug https://developer.wordpress.org/reference/functions/get_admin_url/

    If need I can send a copy of WP Hide PRO to check on your side.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page Error “Sorry, you are not allowed to access this page”’ is closed to new replies.