Home Forums WordPress Plugins Hide My WP wp-admin doesn't redirect to 404

This topic is: not resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #13474
    yrumfan
    Post count: 4

    when i test wp-admin, instead redirects to 404 it’s got this error page.. should i reinstal hmwp?

    Attachments:
    You must be logged in to view attached files.
    #13480
    Suman M.
    Post count: 12480

    Hi, you must follow the onscreen instructions very carefully while renaming wp-admin path name or else you might be locked out of the backend. Please follow these steps:

    In “wp_options” table in your database, delete the rows with following “option_name”:
    – 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

    You shall now be able to login to backend.

    – in HMWP Start Tab, select “Medium Privacy – More Compatibility” scheme and save the settings (assuming that it’s Apache server and htaccess file is writable)

    – in Permalink & URLs tab set “New wp-admin Path” field to “NEW_WPADMIN_PATH_NAME” (a new window will open with the instructions)

    – add following line in wp-config.php, before require_once(…)
    define(“ADMIN_COOKIE_PATH”, “/NEW_WPADMIN_PATH_NAME”);

    – you’ll also need to update your .htaccess file (if it’s not writable) by adding following line before ‘RewriteCond REQUEST_FILENAME} !-f’:
    RewriteRule ^NEW_WPADMIN_PATH_NAME/(.*) /wp-admin/$1 [QSA,L]

    – click on “I did it (login to new dashboard)” button.

    Let us know if any issue.

    #13483
    yrumfan
    Post count: 4

    Actually i dont have any issues with login/access new login url. I want anyone who access http://www.mysite.com/wp-admin get redirect to 404 page, instead of error page like in the provided screenshoot above. I’ve tried the instructions u gave and it success with the new wp-admin path name (thanks for the lesson!), but still when i test http://www.mysite.com/wp-admin url it still got that error page instead of 404 page.

    #13484
    yrumfan
    Post count: 4
    This reply has been marked as private.
    #13485
    Suman M.
    Post count: 12480
    This reply has been marked as private.
    #13495
    yrumfan
    Post count: 4

    Idk what happen but when i try access wp-admin from some web proxy its got 404 too. only my ip returned wp error page. I’m gonna try something for now and i’ll let u know if it work.

    #13502
    Suman M.
    Post count: 12480

    Ok!

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

You must be logged in to reply to this topic.