• dieppon

    (@dieppon)


    Im getting this on all the sites im using :

    Unauthorized access.

Viewing 2 replies - 1 through 2 (of 2 total)
  • opitdev

    (@opitdev)

    Getting the same “Unauthorized access.” error message when trying to enable rerouting. Installed version 1.5.0

    This happens because of the _wp_http_referer comparison in settings.php and test.php if you have a non-standard /wp-admin path (e.g. because you’re using Bedrock).

    This is the problematic part of the condition:

    $_POST['_wp_http_referer'] != '/wp-admin/admin.php?page=wp-reroute-email%2Fsettings.php'

    A replacement that has better compatibility but preserves the intent could be:

    basename( $_POST['_wp_http_referer'] ) != 'admin.php?page=wp-reroute-email%2Fsettings.php'
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unauthorized access.’ is closed to new replies.