Thursday 9 January 2014

wordpress transfer You do not have sufficient permissions to access this page

So after transfer a Wordpress website I got the message 'You do not have sufficient permissions to access this page' .

Actually the error arose because of a change to the 'wp_' suffix I'd made while doing the transfer.  So if that it isn't something you had done as well then this fix is not for you.


wordpress  wp_ suffix change You do not have sufficient permissions to access this page

Run these statements in MyPHPadmin. 

UPDATE new_usermeta
SET meta_key = REPLACE(meta_key,'old_','new_');

UPDATE new_options
SET option_name = REPLACE(option_name,'old_','new_');

No comments: