Home Forums WordPress Plugins Hide My WP Nginx wp-admin

This topic is: not resolved
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #14066
    stth
    Post count: 10

    Hey,

    I have a problem which I am not able to figure it out how to solve.
    I need to rename New wp-admin Path* from wp-admin to /panel

    Everything is setup in my vhost/wp-conf config files.

    Attached is the File for my vhost.

    I always get the error, domain.com/panel not found… If I try to login with the renamed wp-login everything seems fine.

    Hope you can help.

    # BEGIN Hide My WP
    
    rewrite ^/lib/js/embed\.min\.js /wp-includes/js/wp-embed.min.js?aSM_hide_my_wp=1234 last;
    rewrite ^/panel/(.*) /wp-admin/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/lib/(.*) /wp-includes/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/file/(.*) /wp-content/uploads/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/b084576f/(.*) /wp-content/plugins/admin-menu-editor-pro/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/5685c4e2/(.*) /wp-content/plugins/aio-support/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/37f45524/(.*) /wp-content/plugins/blogclone/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/99722f09/(.*) /wp-content/plugins/pages-by-user-role/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/1d60c532/(.*) /wp-content/plugins/pressapps-login-access/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/24d4ec6a/(.*) /wp-content/plugins/tinymce-advanced/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/e972912c/(.*) /wp-content/plugins/ultra-admin/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/7e252cf6/(.*) /wp-content/plugins/user-role-editor-pro/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/e38ca374/(.*) /wp-content/plugins/wpdatatables/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/modules/(.*) /wp-content/plugins/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/template/main\.css /?style_wrapper=1&aSM_hide_my_wp=1234 last;
    rewrite ^/template/style\.css /nothing_404_404?aSM_hide_my_wp=1234 last;
    rewrite ^/template/(.*) /wp-content/themes/twentyseventeen/$1?aSM_hide_my_wp=1234 last;
    rewrite ^/user_submit\.php /wp-comments-post.php?aSM_hide_my_wp=1234 last;
    rewrite ^/do_ajax\.php /wp-admin/admin-ajax.php?aSM_hide_my_wp=1234 last;
    rewrite ^/(readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404?aSM_hide_my_wp=1234 last;
    rewrite ^/(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$ /nothing_404_404?aSM_hide_my_wp=1234 last;
    
    # END Hide My WP
    #14067
    stth
    Post count: 10

    Was just wondering if there is also a way to get support via skype or a remote session?
    Best,

    #14070
    Suman M.
    Post count: 12478

    Hi, we’ll try to answer/resolve the issue here in support forum.
    Renaming wp-admin path name is a complex feature and you’ll need to follow the on-screen instructions very carefully while renaming it. You also need to add following line of code in wp-config.php file, before require_once(…), and finally click on “I did it, login to new dashboard” button.

    define(“ADMIN_COOKIE_PATH”, “/panel”);

    #14071
    stth
    Post count: 10

    Hi,

    thanks for the answwer.

    Yes I did everything which is mentioned in the screen instructions but it is not working.

    best,

    #14073
    Suman M.
    Post count: 12478

    Can you please let us know your site’s wp-admin login details as private reply so that we can look into the issue?

    #14078
    stth
    Post count: 10
    This reply has been marked as private.
    #14079
    stth
    Post count: 10
    This reply has been marked as private.
    #14081
    stth
    Post count: 10
    This reply has been marked as private.
    #14090
    Suman M.
    Post count: 12478
    This reply has been marked as private.
    #14099
    stth
    Post count: 10
    This reply has been marked as private.
    #14165
    Suman M.
    Post count: 12478

    Hi Hassan, can you please look further into this issue? Everything looks good, but after logging in, the new wp-admin path returns 404 error.

    #14194
    stth
    Post count: 10
    This reply has been marked as private.
    #14205
    Hassan
    Post count: 955

    I added you to my Skype. Let me know when you were available.

    You can also share server credential as a private reply so I can check it faster.

    #14208
    stth
    Post count: 10
    This reply has been marked as private.
    #14215
    Hassan
    Post count: 955
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.