Swift Security:

After installing the Swift Security plugin and you set to hide the backend url (www.yoursite.com/wp-admin/) to other url you may get the following error when accessing modules inside our plugin: "Sorry, you are not allowed to access this page." or "You do not have sufficient permissions to access this page."

 

If this error occurs, add this to your wp-config.php file right after "define('WP_DEBUG', false);":

define('SWIFTSECURITY_ORIGINAL_ADMIN_URL', true);

 

if you added this line yoursite.com/wp-admin will be hidden for non-logged in users only, but WordPress will use /wp-admin for backend for logged in users.

Back To Top