Home Forums WordPress Plugins Hide My WP Renaming wp-admin issues

This topic is: resolved

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27323
    ersalabert
    Post count: 5

    I followed the instructions to renaming wp-amdin, and got locked out. The URI that’s generated in case of this issue also didn’t work. I had to follow the Urgent Help instructions, and by renaming the hide-my-wp folder and commenting out the wp-config entry, I was able to log in again.

    My question is, most everything is working as expected except this step, and I don’t want to get locked out again. When I rename the hide-my-wp directory back to its original state, I am logged out automatically and unable to login. I need to rename the plugin folder to gain access. I wish to uninstall the plugin altogether, but I would like to know what tables the plugin created in the database so I can remove them manually. I can then reinstall the plugin from scratch. Please advise.

    #27327
    Suman M.
    Post count: 12478

    Hi, please follow these steps:

    1) In “wp_options” table in your database, delete the rows with following “option_name”. (Please backup your database first)
    – hide_my_wp
    – hide_my_wp_undo
    – hmwp_ids_installed
    – hmw_all_plugins
    – external_updates-hide_my_wp
    – hmwp_spam_counter
    – hmwp_temp_admin_path

    2) comment out or remove following line from wp-config.php (if you have added it there previously)
    define(“ADMIN_COOKIE_PATH”, “/NEW_WPADMIN_PATH_NAME”);

    You shall now be able to login to backend, and re-configure the plugin again. While renaming wp-admin path name make sure that you follow the on-screen instructions very carefully. Also the new name should not have any special characters and the name should not have been used somewhere else in the site (like page/post slug).

    #27380
    ersalabert
    Post count: 5

    The instructions to remove the rows in the options table helped get to reconfigure the plugin, and all is good.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.