How to Solve WordPress Error You do not have sufficient permissions to access this page

Wordpress is an open source content management system to setup a blog. Because of its features and plugin support it becomes the most widely used blogging platform across the world. But sometimes when you try to activate the plugin in wordpress and then some time it shows the error “You do not have sufficient permissions to access this page” then you need to make some changes under that wordpress hosting account. Use FTP details to find config file or use cPanel and go to file manger to edit the file to solve the error:

1) Open wp.php-config file and

2) Replace the content from

define(‘AUTH_KEY’, ‘put your unique phrase here’);

define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);

define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);

define(‘NONCE_KEY’, ‘put your unique phrase here’);

To

define(‘AUTH_KEY’, ‘xzjop11ocq4p25xgp4zy3g2c8zpnrvosvpq6zgethmcjs2xfr0dhc8qnwzqaie3s’);

define(‘SECURE_AUTH_KEY’,’slsklt2pnzem3xuqnhxtdqmb6qaofqz1myvuztkynorhijoakocc27vbgmbr6lj3′);

define(‘LOGGED_IN_KEY’,’zsixqmsi1xrfuuyzqxnqxccf5lmdvcozyqho9ut6c8j4yeq2reh07nhjsatzglyx’);

define(‘NONCE_KEY’,’qglsgzmyywgnfgf8svlye2rdlp42aeyh599hkyjcl7bekfw6ouwirxtiabp57mfs’);

define(‘AUTH_SALT’,’wyc0fbiwzkwqljfyngcfx8w7k1wjis8tgpe8ypqzyc88zoy2luyqekpyro689qgl’);

define(‘SECURE_AUTH_SALT’, ‘aum1i4ubnamlxnq7mwbbzgydlcywre8rb39pp7x5qw7ujsaj5enc6cegictqv6qz’);

define(‘LOGGED_IN_SALT’, ‘grqghuz8jhct4ytofzfxqyhqn5kfaka5cbi1qoq5hq3gy8vwckflu1afeyv3ls98’);

define(‘NONCE_SALT’,’z5qo3qdimktw0kucvhcepw52zrdpwlile9cmh3ral9orwcvv5vhvmrufnefao2hk’);

3) Save the file and Done

4) You can create the new auth code by using following URL

https://api.wordpress.org/secret-key/1.1/salt/